[package] name = "sp-statement-store" version = "4.0.0-dev" authors = ["Parity Technologies "] edition = "2021" license = "Apache-2.0" homepage = "https://substrate.io" repository = "https://github.com/paritytech/substrate/" description = "A crate which contains primitives related to the statement store" readme = "README.md" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } sp-core = { version = "21.0.0", default-features = false, path = "../core" } sp-runtime = { version = "24.0.0", default-features = false, path = "../runtime" } sp-std = { version = "8.0.0", default-features = false, path = "../std" } sp-api = { version = "4.0.0-dev", default-features = false, path = "../api" } sp-application-crypto = { version = "23.0.0", default-features = false, path = "../application-crypto" } sp-runtime-interface = { version = "17.0.0", default-features = false, path = "../runtime-interface" } sp-externalities = { version = "0.19.0", default-features = false, path = "../externalities" } thiserror = { version = "1.0", optional = true } # ECIES dependencies ed25519-dalek = { version = "2.0.0", optional = true } x25519-dalek = { version = "2.0.0", optional = true, features = ["static_secrets"] } curve25519-dalek = { version = "4.0.0", optional = true } aes-gcm = { version = "0.10", optional = true } hkdf = { version = "0.12.0", optional = true } sha2 = { version = "0.10.7", optional = true } rand = { version = "0.8.5", features = ["small_rng"], optional = true } [features] default = [ "std" ] std = [ "aes-gcm", "codec/std", "curve25519-dalek", "ed25519-dalek", "hkdf", "rand", "scale-info/std", "sha2", "sp-api/std", "sp-application-crypto/std", "sp-core/std", "sp-externalities/std", "sp-runtime-interface/std", "sp-runtime/std", "sp-std/std", "thiserror", "x25519-dalek", ] serde = [ "scale-info/serde", "sp-application-crypto/serde", "sp-core/serde", "sp-runtime/serde", ]