64 lines
1.2 KiB
TOML
64 lines
1.2 KiB
TOML
[package]
|
|
name = "nac-deploy"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
authors = ["NewAssetChain Team <dev@newassetchain.io>"]
|
|
description = "NAC智能部署工具 - 多环境部署管理"
|
|
license = "MIT"
|
|
|
|
[[bin]]
|
|
name = "nac-deploy"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
|
|
# NAC核心依赖
|
|
nac-udm = { path = "../nac-udm" }
|
|
nac-sdk = { path = "../nac-sdk" }
|
|
|
|
# CLI
|
|
clap = { version = "4.5", features = ["derive", "cargo"] }
|
|
colored = "2.1"
|
|
|
|
# 配置管理
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# 文件操作
|
|
walkdir = "2.4"
|
|
|
|
# 错误处理
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# 日志
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# 异步运行时
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
|
|
# HTTP客户端
|
|
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
|
|
|
|
# 进度条
|
|
indicatif = "0.17"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
|
|
[lints.rust]
|
|
missing_docs = "allow"
|
|
unused_doc_comments = "allow"
|
|
non_camel_case_types = "allow"
|
|
dead_code = "allow"
|
|
unused_imports = "allow"
|
|
unused_variables = "allow"
|
|
|
|
[lints.rustdoc]
|
|
all = "allow"
|