Merge pull request 'fix(deps): update all dependencies' (#10) from renovate/all into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
This commit is contained in:
commit
d66f259469
977
Cargo.lock
generated
977
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -2,3 +2,4 @@
|
||||
members = [
|
||||
"crates/*"
|
||||
]
|
||||
resolver = "2"
|
||||
|
@ -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"] }
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user