Files
pezkuwi-sdk/substrate/primitives/statement-store/Cargo.toml
T

77 lines
1.9 KiB
TOML

[package]
name = "sp-statement-store"
version = "10.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "A crate which contains primitives related to the statement store"
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-api = { workspace = true }
sp-application-crypto = { workspace = true }
sp-core = { workspace = true }
sp-crypto-hashing = { workspace = true }
sp-externalities = { workspace = true }
sp-runtime = { workspace = true }
sp-runtime-interface = { workspace = true }
thiserror = { optional = true, workspace = true }
# ECIES dependencies
aes-gcm = { optional = true, workspace = true }
curve25519-dalek = { optional = true, workspace = true }
ed25519-dalek = { optional = true, workspace = true, default-features = true }
hkdf = { optional = true, workspace = true }
rand = { features = [
"small_rng",
], optional = true, workspace = true, default-features = true }
sha2 = { optional = true, workspace = true, default-features = true }
x25519-dalek = { optional = true, features = [
"static_secrets",
], workspace = 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",
]
runtime-benchmarks = [
"sp-api/runtime-benchmarks",
"sp-runtime-interface/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]