Closed rnza0u closed 2 months ago
Cargo supports having both version and path attributes for dependencies declared in Cargo.toml.
version
path
When using cargo add, we should be able to use this syntax without getting an error:
cargo add
cargo add crate-name@x.x.x --path some/path
Is there a specific reason why this is not supported ?
Thanks
cargo add is no longer maintained in this repo but has been merged into Cargo.
Cargo supports having both
version
andpath
attributes for dependencies declared in Cargo.toml.When using
cargo add
, we should be able to use this syntax without getting an error:cargo add crate-name@x.x.x --path some/path
Is there a specific reason why this is not supported ?
Thanks