NAC_Blockchain/nac-upgrade-framework/Cargo.toml

37 lines
755 B
TOML

[package]
name = "nac-upgrade-framework"
version = "0.1.0"
edition = "2021"
authors = ["NAC Development Team"]
description = "NAC公链统一升级框架 - 为所有模块提供版本管理、升级协议、回滚机制和升级治理"
license = "MIT"
[dependencies]
# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 错误处理
anyhow = "1.0"
thiserror = "1.0"
# 时间处理
chrono = { version = "0.4", features = ["serde"] }
# 加密和哈希
sha3 = "0.10"
hex = "0.4"
# 日志
log = "0.4"
# 异步运行时(可选)
tokio = { version = "1.0", features = ["full"], optional = true }
[dev-dependencies]
tokio = { version = "1.0", features = ["full", "test-util"] }
[features]
default = []
async = ["tokio"]