Skip to main content

parse_dependency_string

Function parse_dependency_string 

Source
pub fn parse_dependency_string(dep_str: &str) -> Result<Dependency<'_>, Error>
Expand description

Parses a dependency string with Zoi-specific manager validation.

Recognized managers include “zoi”, “native”, and all external managers defined in managers.json.

§Errors

Returns an error if the dependency string is malformed or uses an unsupported manager.