Cargo Features
[dependencies]
bounded-collections = { version = "0.2.2", default-features = false, features = ["std", "json-schema"] }
- default = std
-
The
std
feature is set by default wheneverbounded-collections
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of parity-scale-codec, log, scale-info, and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - json-schema
-
Enables schemars
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.