Update dependencies
Some checks failed
Build and Publish Docker Container / build (push) Failing after 56s
Some checks failed
Build and Publish Docker Container / build (push) Failing after 56s
This commit is contained in:
parent
cab285b8df
commit
5da46563d1
1400
Cargo.lock
generated
1400
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
28
Cargo.toml
28
Cargo.toml
@ -7,25 +7,25 @@ edition = "2021"
|
||||
entity = { path = "entity" }
|
||||
migration = { path = "migration" }
|
||||
|
||||
axum = { version = "0.6.20", features = ["multipart"] }
|
||||
tokio = { version = "1.32.0", features = ["full"] }
|
||||
sea-orm = { version = "0.12", features = [
|
||||
axum = { version = "0.7.4", features = ["multipart"] }
|
||||
tokio = { version = "1.36.0", features = ["full"] }
|
||||
sea-orm = { version = "1.0.0-rc.1", features = [
|
||||
"sqlx-postgres",
|
||||
"runtime-tokio-rustls",
|
||||
"macros"
|
||||
] }
|
||||
|
||||
serde = { version = "1.0.188", features = ["derive"] }
|
||||
serde_json = "1.0.105"
|
||||
tracing-subscriber = "0.3.17"
|
||||
tracing = "0.1.37"
|
||||
anyhow = "1.0.75"
|
||||
thiserror = "1.0.48"
|
||||
http = "0.2.9"
|
||||
chrono = { version = "0.4.28", features = ["serde"] }
|
||||
num-traits = "0.2.16"
|
||||
csv = "1.2.2"
|
||||
clap = "4.4.2"
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
serde_json = "1.0.114"
|
||||
tracing-subscriber = "0.3.18"
|
||||
tracing = "0.1.40"
|
||||
anyhow = "1.0.80"
|
||||
thiserror = "1.0.57"
|
||||
http = "1.0.0"
|
||||
chrono = { version = "0.4.34", features = ["serde"] }
|
||||
num-traits = "0.2.18"
|
||||
csv = "1.3.0"
|
||||
clap = "4.5.1"
|
||||
|
||||
[workspace]
|
||||
members = [".", "migration", "entity"]
|
||||
|
||||
@ -9,5 +9,5 @@ name = "entity"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
sea-orm = { version = "^0" }
|
||||
serde = { version = "1.0.158", features = ["derive"] }
|
||||
sea-orm = { version = "1.0.0-rc.1" }
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
|
||||
@ -12,7 +12,7 @@ path = "src/lib.rs"
|
||||
async-std = { version = "1", features = ["attributes", "tokio1"] }
|
||||
|
||||
[dependencies.sea-orm-migration]
|
||||
version = "0.12.0"
|
||||
version = "1.0.0-rc.1"
|
||||
features = [
|
||||
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
|
||||
"sqlx-postgres", # `DATABASE_DRIVER` feature
|
||||
|
||||
@ -52,10 +52,8 @@ async fn main() -> anyhow::Result<()> {
|
||||
.layer(Extension(connection.clone()));
|
||||
|
||||
tracing::debug!("listening on {}", &config.addr);
|
||||
axum::Server::bind(&config.addr)
|
||||
.serve(app.into_make_service())
|
||||
.await
|
||||
.unwrap();
|
||||
let listener = tokio::net::TcpListener::bind(&config.addr).await.unwrap();
|
||||
axum::serve(listener, app).await.unwrap();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user