Cargo Features

sp-trie = { version = "37.0.0", default-features = false, features = ["std"] }
default = std

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

std default = ahash, lazy_static, nohash-hasher, parking_lot, rand, schnellru, thiserror, tracing

Enables std of parity-scale-codec, hash-db, memory-db, scale-info, sp-core, sp-externalities, trie-db, and trie-root

Affects sp-trie::cache, sp-trie::recorder, sp-trie::proof_size_extension

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.

ahash std
lazy_static std
nohash-hasher std
parking_lot std
rand std
thiserror std
tracing std
schnellru std