init basic database folder structure

This commit is contained in:
GW_MC
2025-11-11 20:15:08 +08:00
commit c9daeeab4c
12 changed files with 3322 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[package]
name = "database"
version = "0.1.0"
edition = "2024"
[lib]
path = "src/lib.rs"
[dependencies]
shared = { path = "../shared" }
migration = { path = "../migration" }
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.47.0", features = ["full"] }
sea-orm = { version = "2.0.0-rc", features = [ "sqlx-postgres", "sqlx-mysql", "sqlx-sqlite", "runtime-tokio-rustls", "macros", "mock", "with-chrono", "with-json", "with-uuid", "sqlite-use-returning-for-3_35", "mariadb-use-returning" ] }
[lints]
workspace = true