Cargo Features
[dependencies]
bounded-collections-next = { version = "0.1.0", default-features = false, features = ["std", "json-schema", "scale-codec"] }
- default = std
-
The
std
feature is set by default wheneverbounded-collections-next
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of jam-codec, log, parity-scale-codec, 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
- scale-codec std = scale-info
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.