NAC_Blockchain/_archive/nac-onboarding-system-legacy/Cargo.toml

60 lines
1.0 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-onboarding-system"
version = "1.0.0"
edition = "2021"
authors = ["NAC Development Team"]
description = "NAC公链资产一键上链系统"
[dependencies]
# Web框架
actix-web = "4.4"
actix-cors = "0.7"
actix-files = "0.6"
# 异步运行时
tokio = { version = "1.35", features = ["full"] }
# 序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 数据库
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "mysql", "chrono", "uuid"] }
# 日期时间
chrono = { version = "0.4", features = ["serde"] }
# UUID
uuid = { version = "1.6", features = ["v4", "serde"] }
# 日志
log = "0.4"
env_logger = "0.11"
# 错误处理
anyhow = "1.0"
thiserror = "1.0"
# 配置
config = "0.14"
dotenv = "0.15"
# JWT认证
jsonwebtoken = "9.2"
# 密码哈希
bcrypt = "0.15"
# WebSocket
actix-web-actors = "4.2"
# NAC SDK调用适配器
nac-sdk = { path = "../../sdk/nac-sdk" }
[dev-dependencies]
actix-rt = "2.9"
[[bin]]
name = "nac-onboarding-system"
path = "src/main.rs"