Cargo Features

[dependencies]
sp-statement-store = { version = "18.0.0", default-features = false, features = ["std", "serde"] }
default = std

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

std default = aes-gcm, curve25519-dalek, ed25519-dalek, hkdf, rand, sha2, thiserror, x25519-dalek

Enables std of optional aes-gcm, parity-scale-codec, optional hkdf, scale-info, sp-api, sp-application-crypto, sp-core, sp-crypto-hashing, sp-externalities, sp-runtime, and sp-runtime-interface

Affects sp-statement-store::ed25519.Pair, sp-statement-store::hash_encoded, runtime_api::HostFunctions

serde

Enables serde of scale-info, sp-application-crypto, sp-core, and sp-runtime

sp-application-crypto:

Serde support without relying on std features.

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.

thiserror std

Enables thiserror ^1.0.48

ed25519-dalek std

Enables ed25519-dalek

ECIES dependencies

x25519-dalek std
curve25519-dalek std
aes-gcm std
hkdf std
sha2 std
rand std