NAC_Blockchain/nac-nrpc4/Cargo.toml

42 lines
885 B
TOML

[package]
name = "nac-nrpc4"
version = "0.1.0"
edition = "2021"
authors = ["NAC Network Protocol Team"]
description = "NRPC 4.0: Meta-Protocol Civilization Network Stack"
license = "MIT"
[dependencies]
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
# 基础依赖
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
async-trait = "0.1"
thiserror = "1.0"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
# 密码学
ed25519-dalek = "2.0"
sha2 = "0.10"
blake3 = "1.5"
# 网络
bytes = "1.0"
futures = "0.3"
# NAC内部依赖
nac-udm = { path = "../nac-udm" }
nac-csnp-l0 = { path = "../nac-csnp-l0" }
nac-csnp-l1 = { path = "../nac-csnp-l1" }
nac-constitution-state = { path = "../nac-constitution-state" }
[dev-dependencies]
tokio-test = "0.4"
[lib]
name = "nac_nrpc4"
path = "src/lib.rs"