Cargo Features
Krates has no features set by default.
[dependencies]
krates = { version = "0.17.5", features = ["targets", "metadata"] }
- targets
-
Adds support for filtering target specific dependencies
Used to parse and evaluate cfg() expressions for dependencies
- metadata
-
Enables interop with cargo_metadata, if not enabled uses types defined within krates
Enables cargo-platform
We need to use a type from this because it use part of the public API of cargo_metadata ...but it's not actually in the public API :p
and cargo_metadata
Used for acquiring and/or deserializing
cargo metadata
output