[package] name = "nac-api-server" version = "3.1.0" edition = "2021" authors = ["NAC Core Team "] description = "NAC公链统一API网关 - 主网所有微服务统一入口 (NAC_Lens/4.0) + RWA法律要素体系" [[bin]] name = "nac-api-server" path = "src/main.rs" [dependencies] nac-upgrade-framework = { path = "../../nac-upgrade-framework" } # RWA 法律要素体系(五阶段) nac-rwa-legal-model = { path = "../../rwa/nac-rwa-legal-model" } nac-rwa-jurisdiction-adapters = { path = "../../rwa/nac-rwa-jurisdiction-adapters" } nac-rwa-contract-templates = { path = "../../rwa/nac-rwa-contract-templates" } nac-rwa-bilateral-rules = { path = "../../rwa/nac-rwa-bilateral-rules" } nac-rwa-sharia-compliance = { path = "../../rwa/nac-rwa-sharia-compliance" } # 异步运行时 tokio = { version = "1.0", features = ["full"] } # HTTP 框架 axum = { version = "0.7", features = ["macros"] } tower = "0.4" tower-http = { version = "0.5", features = ["cors", "trace"] } # HTTP 客户端(反向代理) reqwest = { version = "0.11", features = ["json", "stream"] } # 序列化 serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" # 日志 tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } # 时间 chrono = { version = "0.4", features = ["serde"] } # 工具 anyhow = "1.0" thiserror = "1.0" uuid = { version = "1.0", features = ["v4", "serde"] } [dev-dependencies] tokio-test = "0.4"