Files
pezkuwi-subxt/substrate/primitives/statement-store/Cargo.toml
T
Arkadiy Paronyan d6d9bd9ea3 Encryption support for the statement store (#14440)
* Added ECIES encryption

* tweaks

* fmt

* Make clippy happy

* Use local keystore

* qed
2023-07-17 18:41:41 +00:00

63 lines
2.1 KiB
TOML

[package]
name = "sp-statement-store"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
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 = "1.0", optional = true }
x25519-dalek = { version = "2.0.0-pre.1", optional = true }
curve25519-dalek = { version = "3.2", optional = true }
aes-gcm = { version = "0.10", optional = true }
hkdf = { version = "0.12.0", optional = true }
sha2 = { version = "0.10.0", optional = true }
rand = { version = "0.8.5", features = ["small_rng"], optional = true }
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
"sp-runtime-interface/std",
"sp-std/std",
"sp-api/std",
"sp-application-crypto/std",
"thiserror",
"ed25519-dalek",
"x25519-dalek",
"curve25519-dalek",
"aes-gcm",
"hkdf",
"sha2",
"rand",
]
serde = [
"scale-info/serde",
"sp-application-crypto/serde",
"sp-core/serde",
"sp-runtime/serde",
]