65 lines
1.0 KiB
TOML
65 lines
1.0 KiB
TOML
[package]
|
|
name = "nac-integration-tests"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["NAC Team"]
|
|
description = "NAC Blockchain Integration Test Suite"
|
|
|
|
[dependencies]
|
|
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
|
|
# 异步运行时
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
async-trait = "0.1"
|
|
|
|
# 序列化
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# 日志
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# 时间
|
|
chrono = "0.4"
|
|
|
|
# UUID
|
|
uuid = { version = "1.6", features = ["v4", "serde"] }
|
|
|
|
# 随机数
|
|
rand = "0.8"
|
|
|
|
# HTTP客户端
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
[dev-dependencies]
|
|
# 测试框架
|
|
tokio-test = "0.4"
|
|
proptest = "1.4"
|
|
criterion = "0.5"
|
|
|
|
# Mock工具
|
|
mockall = "0.12"
|
|
wiremock = "0.6"
|
|
|
|
# 断言库
|
|
assert_matches = "1.5"
|
|
pretty_assertions = "1.4"
|
|
approx = "0.5"
|
|
|
|
# 测试容器
|
|
testcontainers = "0.15"
|
|
|
|
[[bench]]
|
|
name = "benchmarks"
|
|
harness = false
|
|
|
|
[lints.rust]
|
|
warnings = "allow"
|
|
|
|
[profile.test]
|
|
opt-level = 0
|
|
|
|
[profile.bench]
|
|
opt-level = 3
|