NAC_Blockchain/protocol/nac-constitution-service/Cargo.toml

38 lines
847 B
TOML

[package]
name = "nac-constitution-service"
version = "1.0.0"
edition = "2021"
authors = ["NAC Core Team <dev@newassetchain.io>"]
description = "NAC宪法层服务 - Constitutional Layer HTTP Service"
[dependencies]
# HTTP 框架
actix-web = "4"
futures-util = "0.3"
# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 日志
log = "0.4"
env_logger = "0.11"
# 时间
chrono = { version = "0.4", features = ["serde"] }
# 异步运行时
tokio = { version = "1.0", features = ["full"] }
# UUID
uuid = { version = "1.0", features = ["v4"] }
# 线程安全状态
parking_lot = "0.12"
# NAC 核心库(包含 Address 32B / Hash 48B SHA3-384 类型系统)
nac-udm = { path = "../nac-udm" }
[[bin]]
name = "nac-constitution-service"
path = "src/main.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1