cargo_
util_
schemas
1.83.0
(90b35a623 2024-11-26)
In cargo_
util_
schemas::
core::
package_
id_
spec
cargo_util_schemas
::
core
::
package_id_spec
Function
parse_spec
Copy item path
source
fn parse_spec( spec: &
str
, ) ->
Result
<
Option
<(
String
,
Option
<
PartialVersion
>)>,
PackageIdSpecError
>