NAC_Blockchain/nac-api-server/Cargo.toml

49 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-api-server"
version = "1.0.0"
edition = "2021"
authors = ["NAC Team"]
description = "NAC公链统一API服务器 - 为钱包和交易所提供后端支持"
[[bin]]
name = "nac-api-server"
path = "src/main.rs"
[dependencies]
nac-upgrade-framework = { path = "../nac-upgrade-framework" }
tokio = { version = "1.0", features = ["full"] }
axum = "0.7"
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace", "fs", "limit"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1.0"
thiserror = "1.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
# 安全
jsonwebtoken = "9.0"
bcrypt = "0.15"
sha3 = "0.10"
# 配置
config = "0.14"
dotenv = "0.15"
# HTTP客户端用于RPC调用
reqwest = { version = "0.11", features = ["json"] }
# 速率限制
governor = "0.6"
# 验证
validator = { version = "0.18", features = ["derive"] }
[dev-dependencies]
reqwest = "0.11"
tokio-test = "0.4"