Cargo Features
Krates has no features set by default.
[dependencies]
krates = { version = "0.18.1", features = ["targets", "metadata", "serialize"] }
- 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 ^0.1
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 - serialize
-
Enables serialization of the metadata types within krates