Cargo Features
[dependencies]
pallet-generic-asset = { version = "2.0.0-rc6", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverpallet-generic-asset
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of parity-scale-codec ^1.3.4, frame-support ^2.0.0-rc6, frame-system ^2.0.0-rc6, serde, sp-runtime ^2.0.0-rc6, and sp-std ^2.0.0-rc6
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.
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.