NAC_Blockchain/archive/nac-cli-backup/Cargo.toml

59 lines
998 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "nac-cli"
version = "1.0.0"
edition = "2021"
authors = ["NAC Team"]
description = "NAC区块链命令行工具支持中文"
license = "MIT"
[[bin]]
name = "nac"
path = "src/main.rs"
[dependencies]
# 命令行工具
clap = { version = "4.5", features = ["derive", "cargo"] }
colored = "2.1"
dialoguer = "0.11"
indicatif = "0.17"
# 配置和序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"
# 错误处理
anyhow = "1.0"
thiserror = "2.0"
# 日志
log = "0.4"
env_logger = "0.11"
# 异步运行时
tokio = { version = "1.0", features = ["full"] }
# HTTP客户端
reqwest = { version = "0.12", features = ["json"] }
# 密码学
sha3 = "0.10"
hex = "0.4"
secp256k1 = { version = "0.29", features = ["rand", "rand-std"] }
rand = "0.8"
# 工具
chrono = "0.4"
dirs = "5.0"
prettytable-rs = "0.10"
[dev-dependencies]
tempfile = "3.10"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true