59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[package]
|
|
name = "nac-lens"
|
|
version = "4.0.0"
|
|
edition = "2021"
|
|
authors = ["NAC Development Team"]
|
|
description = "NAC Lens - NAC原生RPC协议服务器"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
|
|
# NAC核心依赖
|
|
nac-udm = { path = "../nac-udm" }
|
|
|
|
# 异步运行时
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
async-trait = "0.1"
|
|
|
|
# Web框架
|
|
axum = { version = "0.7", features = ["ws", "macros"] }
|
|
tower = { version = "0.4", features = ["util"] }
|
|
tower-http = { version = "0.5", features = ["cors", "trace"] }
|
|
|
|
# 序列化
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# HTTP客户端
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
|
|
# 日志
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# 错误处理
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|
|
|
|
# 时间处理
|
|
chrono = "0.4"
|
|
|
|
# 并发
|
|
futures = "0.3"
|
|
parking_lot = "0.12"
|
|
|
|
# 哈希
|
|
sha3 = "0.10"
|
|
blake3 = "1.5"
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
|
|
[lib]
|
|
name = "nac_lens"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "nac-lens-server"
|
|
path = "src/bin/server.rs"
|