Skip to main content

add

Function add 

Source
pub fn add(
    manifest_path: &Path,
    name: &str,
    version: Option<&str>,
) -> PkgResult<()>
Expand description

Add a dependency to the manifest.

If no version is specified, defaults to "*" (any version).