try 2
This commit is contained in:
parent
85718f3aea
commit
19eff26934
12
Cargo.toml
12
Cargo.toml
@ -4,3 +4,15 @@ version = "0.1.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
anyhow = "1.0.95"
|
||||||
|
async-trait = "0.1.86"
|
||||||
|
axum = { version = "0.8.1", features = ["json"] }
|
||||||
|
dotenvy = "0.15.7"
|
||||||
|
sea-orm = { version = "1.1.4", features = ["runtime-tokio-native-tls", "sqlx-postgres"] }
|
||||||
|
serde = { version = "1.0.217", features = ["derive"] }
|
||||||
|
serde_json = "1.0.138"
|
||||||
|
tokio = { version = "1.43.0", features = ["full"] }
|
||||||
|
tower-http = { version = "0.6.2", features = ["cors"] }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
sea-orm-cli = "1.1.4"
|
||||||
|
13
src/main.rs
13
src/main.rs
@ -1,3 +1,12 @@
|
|||||||
fn main() {
|
use dotenvy::dotenv;
|
||||||
println!("Hello, world!");
|
|
||||||
|
mod base;
|
||||||
|
mod config;
|
||||||
|
mod models;
|
||||||
|
mod routes;
|
||||||
|
mod utils;
|
||||||
|
|
||||||
|
#[tokio::main]
|
||||||
|
async fn main() -> Result<(), Box<dyn , std::error::Error>> {
|
||||||
|
//
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user