Cargo Features
[dependencies]
pezsp-statement-store = { version = "10.0.0", default-features = false, features = ["std", "serde", "runtime-benchmarks"] }
- default = std
-
The
stdfeature is set by default wheneverpezsp-statement-storeis added withoutsomewhere in the dependency tree.default-features = false - 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 ^0.12.0, pezsp-api, pezsp-application-crypto, pezsp-core, pezsp-crypto-hashing, pezsp-externalities, pezsp-runtime, pezsp-runtime-interface, and scale-info
aes-gcm:
ECIES dependencies
Affects
pezsp-statement-store::ed25519.Pair,pezsp-statement-store::hash_encoded,runtime_api::HostFunctions… - serde
-
Enables serde of pezsp-application-crypto, pezsp-core, pezsp-runtime, and scale-info
pezsp-application-crypto:
Serde support without relying on std features.
- runtime-benchmarks
-
Enables runtime-benchmarks of pezsp-api, pezsp-runtime, and pezsp-runtime-interface
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.69
- aes-gcm std
- curve25519-dalek std
- ed25519-dalek std
- hkdf std
-
Enables hkdf ^0.12.0
- rand std
-
Enables rand ^0.8.5
- sha2 std
-
Enables sha2 ^0.10.7
- x25519-dalek std