NAC_Blockchain/nac-test/Cargo.toml

61 lines
1.1 KiB
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-test"
version = "1.0.0"
edition = "2021"
authors = ["NAC Team"]
description = "NAC区块链测试框架支持中文测试语法"
license = "MIT"
[[bin]]
name = "nac-test"
path = "src/main.rs"
[dependencies]
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
# NAC核心模块
nac-sdk = { path = "../nac-sdk" }
nac-udm = { path = "../nac-udm" }
# nac-serde已移除使用标准serde
# 命令行工具
clap = { version = "4.5", features = ["derive"] }
colored = "2.1"
# 测试框架
tokio = { version = "1.0", features = ["full", "test-util"] }
# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 错误处理
anyhow = "1.0"
thiserror = "2.0"
# 日志
log = "0.4"
env_logger = "0.11"
# 工具
chrono = "0.4"
[dev-dependencies]
tempfile = "3.10"
[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"