feat: ✨ seaorm
This commit is contained in:
parent
36c72cee4a
commit
40149b372d
20 changed files with 236 additions and 87 deletions
|
@ -3,11 +3,16 @@ name = "rust_forum"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
members = [".", "entity", "migration"]
|
||||
|
||||
[dependencies]
|
||||
entity = { path = "entity" }
|
||||
migration = { path = "migration" }
|
||||
axum = "0.7.9"
|
||||
chrono = { version = "0.4.38", features = ["serde"] }
|
||||
sea-orm = { version = "1.1.2", features = ["macros", "runtime-tokio-rustls", "sqlx-postgres", "with-chrono", "with-json"] }
|
||||
serde = { version = "1.0.215", features = ["derive"] }
|
||||
serde_json = "1.0.133"
|
||||
surrealdb = "2.1.1"
|
||||
tokio = { version = "1.41.1", features = ["full"] }
|
||||
tower-http = { version = "0.6.2", features = ["cors"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue