echoes/backend/Cargo.toml
lsy 3daf6280a7 数据库:由后端动态构建
后端:更新数据库配置,支持MySQL和SQLite,重构SQL查询构建,重构数据库初始化操作;
前端:调整初始化状态逻辑,改进主题切换功能。
2024-11-28 23:10:00 +08:00

26 lines
569 B
TOML

[package]
name = "echoes"
version = "0.1.0"
edition = "2021"
[dependencies]
rocket = { version = "0.5", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8.19"
tokio = { version = "1", features = ["full"] }
sqlx = { version = "0.8.2", features = [
"runtime-tokio-native-tls",
"postgres",
"mysql",
"sqlite"
] }
async-trait = "0.1.83"
jwt-compact = { version = "0.8.0", features = ["ed25519-dalek"] }
ed25519-dalek = "2.1.1"
rand = "0.8.5"
chrono = "0.4"
regex = "1.11.1"
bcrypt = "0.16"
hex = "0.4.3"