fix(deps): update all dependencies #10

Merged
kjuulh merged 2 commits from renovate/all into main 2024-04-05 21:11:37 +02:00
4 changed files with 636 additions and 366 deletions

977
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -2,3 +2,4 @@
members = [
"crates/*"
]
resolver = "2"

View File

@ -6,13 +6,13 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-graphql = "4.0.6"
axum = "0.5.13"
tokio = {version="1.20.1", features=["full"]}
uuid = {version="1.1.2", features=["v4", "fast-rng"]}
sqlx = { version = "0.6", features = [ "runtime-tokio-rustls", "postgres", "migrate"] }
anyhow = "1.0.60"
async-graphql = "7.0.3"
axum = "0.7.5"
tokio = {version="1.37.0", features=["full"]}
uuid = {version="1.8.0", features=["v4", "fast-rng"]}
sqlx = { version = "0.7", features = [ "runtime-tokio-rustls", "postgres", "migrate"] }
anyhow = "1.0.81"
dotenv = "0.15.0"
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
tower-http = { version = "0.3.4", features = ["full"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tower-http = { version = "0.5.2", features = ["full"] }

View File

@ -16,6 +16,7 @@ use async_graphql::{
};
use graphql::CibusSchema;
use sqlx::PgPool;
use tokio::net::TcpListener;
use tower_http::{cors::CorsLayer, trace::TraceLayer};
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
@ -77,8 +78,9 @@ async fn main() -> anyhow::Result<()> {
);
tracing::info!("Starting webserver");
axum::Server::bind(&"0.0.0.0:3001".parse().unwrap())
.serve(app.into_make_service())
let listener = TcpListener::bind("0.0.0.0:3001").await?;
axum::serve(listener, app.into_make_service())
.await
.unwrap();