Expand description
Core of cargo-add command
Modules
- Crate name parsing.
Structs
- Information on what dependencies should be added
- Dependency entry operation
- Track presentation-layer information with the editable representation of a
[dependencies]
entry (Dependency)
Functions
- Add dependencies to a manifest
- When { workspace = true } you cannot define other keys that configure the source of the dependency such as
version
,registry
,registry-index
,path
,git
,branch
,tag
,rev
, orpackage
. You can also not definedefault-features
. - Provide the existing dependency for the target table
- Lookup available features
- Convert a
semver::VersionReq
into a renderedsemver::Version
if all fields are fully specified.