[package]
name = "sp-statement-store"
version = "18.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "A crate which contains primitives related to the statement store (polkadot v1.15.0)"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
sp-core.workspace = true
sp-crypto-hashing.workspace = true
sp-runtime.workspace = true
sp-api.workspace = true
sp-application-crypto.workspace = true
sp-runtime-interface.workspace = true
sp-externalities.workspace = true
thiserror = { optional = true, workspace = true }
ed25519-dalek = { optional = true, workspace = true, default-features = true }
x25519-dalek = { optional = true, features = ["static_secrets"], workspace = true }
curve25519-dalek = { optional = true, workspace = true }
aes-gcm = { optional = true, workspace = true }
hkdf = { optional = true, workspace = true }
sha2 = { optional = true, workspace = true, default-features = true }
rand = { features = ["small_rng"], optional = true, workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"aes-gcm",
"aes-gcm?/std",
"codec/std",
"curve25519-dalek",
"ed25519-dalek",
"hkdf",
"hkdf?/std",
"rand",
"scale-info/std",
"sha2",
"sp-api/std",
"sp-application-crypto/std",
"sp-core/std",
"sp-crypto-hashing/std",
"sp-externalities/std",
"sp-runtime-interface/std",
"sp-runtime/std",
"thiserror",
"x25519-dalek",
]
serde = [
"scale-info/serde",
"sp-application-crypto/serde",
"sp-core/serde",
"sp-runtime/serde",
]