split backend into bin and lib
This commit is contained in:
@@ -3,6 +3,14 @@ name = "warren"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[lib]
|
||||
name = "warren"
|
||||
path = "src/lib/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "warren_backend"
|
||||
path = "src/bin/backend/main.rs"
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.8.4", features = ["multipart", "query"] }
|
||||
dotenv = "0.15.0"
|
||||
|
||||
Reference in New Issue
Block a user