Cargo Features

[dependencies]
sp-storage = { version = "21.0.0", default-features = false, features = ["std", "serde"] }
default = std

The std feature is set by default whenever sp-storage is added without default-features = false somewhere in the dependency tree.

std default

Enables std of parity-scale-codec, impl-serde ^0.4.0, serde, and sp-debug-derive

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects sp-storage::StorageMap, sp-storage::StorageChild, sp-storage::Storage

serde std = impl-serde

Serde support without relying on std features.

Enables serde

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.

impl-serde serde? std

Enables impl-serde ^0.4.0