From d653d0a442f8c8d84e1e332281978b54a52cb884 Mon Sep 17 00:00:00 2001 From: Sourab Pramanik Date: Mon, 8 Apr 2024 13:26:52 +0530 Subject: [PATCH 1/5] feat: bump poem version (#161) --- poem/hello-world/Cargo.toml | 2 +- poem/mongodb/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poem/hello-world/Cargo.toml b/poem/hello-world/Cargo.toml index c65e0f14..09df26bb 100644 --- a/poem/hello-world/Cargo.toml +++ b/poem/hello-world/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -poem = "2.0.0" +poem = "3.0.0" shuttle-poem = "0.43.0" shuttle-runtime = "0.43.0" tokio = "1.26.0" diff --git a/poem/mongodb/Cargo.toml b/poem/mongodb/Cargo.toml index 3362c9b9..f6c4b113 100644 --- a/poem/mongodb/Cargo.toml +++ b/poem/mongodb/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] mongodb = "2.4.0" -poem = "2.0.0" +poem = "3.0.0" shuttle-poem = "0.43.0" shuttle-shared-db = { version = "0.43.0", features = ["mongodb"] } shuttle-runtime = "0.43.0" From cfad214cbab765af2c6fb30c538cb8859f0b8c6b Mon Sep 17 00:00:00 2001 From: jonaro00 <54029719+jonaro00@users.noreply.github.com> Date: Mon, 8 Apr 2024 10:14:58 +0200 Subject: [PATCH 2/5] fix: poem AFIT --- poem/mongodb/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/poem/mongodb/src/main.rs b/poem/mongodb/src/main.rs index 2c4af642..fbd676e4 100644 --- a/poem/mongodb/src/main.rs +++ b/poem/mongodb/src/main.rs @@ -14,7 +14,6 @@ use shuttle_poem::ShuttlePoem; struct ObjectIdGuard(ObjectId); -#[poem::async_trait] impl<'a> FromRequest<'a> for ObjectIdGuard { async fn from_request(req: &'a Request, _body: &mut RequestBody) -> Result { let id = req.path_params::()?; From 2662c363e22b7dedfa96c2223e6ca9a62315f40a Mon Sep 17 00:00:00 2001 From: jonaro00 <54029719+jonaro00@users.noreply.github.com> Date: Mon, 8 Apr 2024 12:05:58 +0200 Subject: [PATCH 3/5] fix: clippy --- custom-service/request-scheduler/src/error.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-service/request-scheduler/src/error.rs b/custom-service/request-scheduler/src/error.rs index 5d3856d8..122508b7 100644 --- a/custom-service/request-scheduler/src/error.rs +++ b/custom-service/request-scheduler/src/error.rs @@ -5,11 +5,11 @@ use axum::{ use shuttle_persist::PersistError; #[derive(Debug)] -pub(crate) struct CrontabServiceError(PersistError); +pub(crate) struct CrontabServiceError; impl From for CrontabServiceError { - fn from(err: PersistError) -> Self { - Self(err) + fn from(_err: PersistError) -> Self { + Self } } From e3bf54a72cb8700bee28fb0b32b5a3eb48c86a54 Mon Sep 17 00:00:00 2001 From: Joshua Mo <102877324+joshua-mo-143@users.noreply.github.com> Date: Tue, 23 Apr 2024 07:22:06 +0100 Subject: [PATCH 4/5] feat: update turso resource output type in turso example (#164) --- axum/turso/src/main.rs | 45 +++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/axum/turso/src/main.rs b/axum/turso/src/main.rs index 02593e4a..80eca09a 100644 --- a/axum/turso/src/main.rs +++ b/axum/turso/src/main.rs @@ -1,14 +1,13 @@ use std::sync::Arc; use axum::{extract::State, response::IntoResponse, routing::get, Json, Router}; -use libsql::Connection; +use libsql::Database; use serde::{Deserialize, Serialize}; -async fn get_posts(State(client): State>) -> Json> { - let mut rows = client - .query("select * from example_users", ()) - .await - .unwrap(); +async fn get_posts(State(client): State>) -> Json> { + let conn = client.connect().unwrap(); + + let mut rows = conn.query("select * from example_users", ()).await.unwrap(); let mut users = vec![]; while let Some(row) = rows.next().await.unwrap() { users.push(User { @@ -26,16 +25,16 @@ struct User { } async fn create_users( - State(client): State>, + State(client): State>, Json(user): Json, ) -> impl IntoResponse { - client - .execute( - "insert into example_users (uid, email) values (?1, ?2)", - [user.uid, user.email], - ) - .await - .unwrap(); + let conn = client.connect().unwrap(); + conn.execute( + "insert into example_users (uid, email) values (?1, ?2)", + [user.uid, user.email], + ) + .await + .unwrap(); Json(serde_json::json!({ "ok": true })) } @@ -43,17 +42,17 @@ async fn create_users( #[shuttle_runtime::main] async fn axum( #[shuttle_turso::Turso(addr = "libsql://your-db.turso.io", token = "{secrets.TURSO_DB_TOKEN}")] - client: Connection, + client: Database, ) -> shuttle_axum::ShuttleAxum { let client = Arc::new(client); - - client - .execute( - "create table if not exists example_users ( uid text primary key, email text );", - (), - ) - .await - .unwrap(); + let conn = client.connect().unwrap(); + + conn.execute( + "create table if not exists example_users ( uid text primary key, email text );", + (), + ) + .await + .unwrap(); let router = Router::new() .route("/", get(get_posts).post(create_users)) From db653003a94449a3e5cf23c9baa1196c5cd6b643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oddbj=C3=B8rn=20Gr=C3=B8dem?= <29732646+oddgrd@users.noreply.github.com> Date: Tue, 23 Apr 2024 08:30:24 +0200 Subject: [PATCH 5/5] chore: v0.44.0 (#165) --- actix-web/clerk/backend/Cargo.toml | 4 ++-- actix-web/cookie-authentication/Cargo.toml | 4 ++-- actix-web/hello-world/Cargo.toml | 4 ++-- actix-web/postgres/Cargo.toml | 6 +++--- actix-web/static-files/Cargo.toml | 4 ++-- actix-web/websocket-actorless/Cargo.toml | 4 ++-- axum/hello-world/Cargo.toml | 4 ++-- axum/htmx-crud/Cargo.toml | 6 +++--- axum/jwt-authentication/Cargo.toml | 4 ++-- axum/metadata/Cargo.toml | 4 ++-- axum/oauth2/Cargo.toml | 6 +++--- axum/postgres/Cargo.toml | 6 +++--- axum/qdrant/Cargo.toml | 6 +++--- axum/static-files/Cargo.toml | 4 ++-- axum/turso/Cargo.toml | 6 +++--- axum/websocket/Cargo.toml | 4 ++-- bevy/hello-world/server/Cargo.toml | 4 ++-- custom-resource/pdo/Cargo.toml | 6 +++--- custom-service/none/Cargo.toml | 2 +- custom-service/request-scheduler/Cargo.toml | 4 ++-- fullstack-templates/saas/backend/Cargo.toml | 6 +++--- loco/hello-world/Cargo.toml | 4 ++-- other/standalone-binary/Cargo.toml | 4 ++-- poem/hello-world/Cargo.toml | 4 ++-- poem/mongodb/Cargo.toml | 6 +++--- poise/hello-world/Cargo.toml | 4 ++-- rocket/dyn-templates/Cargo.toml | 4 ++-- rocket/hello-world/Cargo.toml | 4 ++-- rocket/jwt-authentication/Cargo.toml | 4 ++-- rocket/opendal-memory/Cargo.toml | 6 +++--- rocket/persist/Cargo.toml | 6 +++--- rocket/postgres/Cargo.toml | 6 +++--- rocket/secrets/Cargo.toml | 4 ++-- rocket/static-files/Cargo.toml | 4 ++-- rocket/url-shortener/Cargo.toml | 6 +++--- rocket/workspace/hello-world/Cargo.toml | 4 ++-- salvo/hello-world/Cargo.toml | 4 ++-- salvo/image-rescaler/Cargo.toml | 4 ++-- serenity/hello-world/Cargo.toml | 4 ++-- serenity/postgres/Cargo.toml | 6 +++--- serenity/weather-forecast/Cargo.toml | 4 ++-- thruster/hello-world/Cargo.toml | 4 ++-- tide/hello-world/Cargo.toml | 4 ++-- tower/hello-world/Cargo.toml | 4 ++-- tracing/custom-tracing-subscriber/Cargo.toml | 4 ++-- warp/hello-world/Cargo.toml | 4 ++-- 46 files changed, 105 insertions(+), 105 deletions(-) diff --git a/actix-web/clerk/backend/Cargo.toml b/actix-web/clerk/backend/Cargo.toml index 83e5e740..ce7fa8da 100644 --- a/actix-web/clerk/backend/Cargo.toml +++ b/actix-web/clerk/backend/Cargo.toml @@ -10,5 +10,5 @@ clerk-rs = "0.2.3" openssl-sys = { version = "0.9.9", features = ["vendored"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -shuttle-actix-web = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-actix-web = "0.44.0" +shuttle-runtime = "0.44.0" diff --git a/actix-web/cookie-authentication/Cargo.toml b/actix-web/cookie-authentication/Cargo.toml index 426cd851..e12d238e 100644 --- a/actix-web/cookie-authentication/Cargo.toml +++ b/actix-web/cookie-authentication/Cargo.toml @@ -7,6 +7,6 @@ edition = "2021" actix-identity = "0.6.0" actix-session = { version = "0.8.0", features = ["cookie-session"] } actix-web = "4.3.1" -shuttle-actix-web = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-actix-web = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/actix-web/hello-world/Cargo.toml b/actix-web/hello-world/Cargo.toml index 772c989e..5bd8c2b5 100644 --- a/actix-web/hello-world/Cargo.toml +++ b/actix-web/hello-world/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] actix-web = "4.3.1" -shuttle-actix-web = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-actix-web = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/actix-web/postgres/Cargo.toml b/actix-web/postgres/Cargo.toml index 35a8cd3e..cae55216 100644 --- a/actix-web/postgres/Cargo.toml +++ b/actix-web/postgres/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" [dependencies] actix-web = "4.3.1" -shuttle-actix-web = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-actix-web = "0.44.0" +shuttle-runtime = "0.44.0" serde = "1.0.148" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = "0.7.1" tokio = "1.26.0" diff --git a/actix-web/static-files/Cargo.toml b/actix-web/static-files/Cargo.toml index 587491eb..13a58be9 100644 --- a/actix-web/static-files/Cargo.toml +++ b/actix-web/static-files/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] actix-files = "0.6.2" actix-web = "4.3.1" -shuttle-actix-web = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-actix-web = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/actix-web/websocket-actorless/Cargo.toml b/actix-web/websocket-actorless/Cargo.toml index 226e1e95..f0b08edd 100644 --- a/actix-web/websocket-actorless/Cargo.toml +++ b/actix-web/websocket-actorless/Cargo.toml @@ -13,7 +13,7 @@ futures = "0.3" reqwest = "0.11" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -shuttle-actix-web = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-actix-web = "0.44.0" +shuttle-runtime = "0.44.0" tokio = { version = "1", features = ["rt-multi-thread", "sync"] } tracing = "0.1" diff --git a/axum/hello-world/Cargo.toml b/axum/hello-world/Cargo.toml index 1cb6d2fa..6a8f0ef9 100644 --- a/axum/hello-world/Cargo.toml +++ b/axum/hello-world/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] axum = "0.7.4" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" diff --git a/axum/htmx-crud/Cargo.toml b/axum/htmx-crud/Cargo.toml index 92892c77..18d60fc7 100644 --- a/axum/htmx-crud/Cargo.toml +++ b/axum/htmx-crud/Cargo.toml @@ -9,9 +9,9 @@ askama_axum = "0.4.0" axum = "0.7.4" serde = { version = "1.0.189", features = ["derive"] } serde_json = "1.0.107" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = { version = "0.7.2", features = ["runtime-tokio-rustls", "postgres"] } tokio = "1.28.2" tokio-stream = { version = "0.1.14", features = ["sync"] } diff --git a/axum/jwt-authentication/Cargo.toml b/axum/jwt-authentication/Cargo.toml index 1d78f1ba..b89b5eea 100644 --- a/axum/jwt-authentication/Cargo.toml +++ b/axum/jwt-authentication/Cargo.toml @@ -10,7 +10,7 @@ jsonwebtoken = "8.3.0" once_cell = "1.18.0" serde = { version = "1.0.188", features = ["derive"] } serde_json = "1.0.107" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" tracing-subscriber = "0.3.17" diff --git a/axum/metadata/Cargo.toml b/axum/metadata/Cargo.toml index 3f944781..d873b1b4 100644 --- a/axum/metadata/Cargo.toml +++ b/axum/metadata/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] axum = "0.7.3" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" diff --git a/axum/oauth2/Cargo.toml b/axum/oauth2/Cargo.toml index 9c1b2b79..cbee9955 100644 --- a/axum/oauth2/Cargo.toml +++ b/axum/oauth2/Cargo.toml @@ -11,9 +11,9 @@ chrono = { version = "0.4.35", features = ["clock"] } oauth2 = "4.4.1" reqwest = { version = "0.11.18", features = ["json"] } serde = { version = "1.0.183", features = ["derive"] } -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = { version = "0.7.2", features = ["runtime-tokio-rustls", "macros", "chrono"] } thiserror = "1.0.57" time = "0.3.25" diff --git a/axum/postgres/Cargo.toml b/axum/postgres/Cargo.toml index 91580eca..ab9580ab 100644 --- a/axum/postgres/Cargo.toml +++ b/axum/postgres/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" [dependencies] axum = "0.7.3" serde = { version = "1.0.188", features = ["derive"] } -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = "0.7.1" tokio = "1.28.2" diff --git a/axum/qdrant/Cargo.toml b/axum/qdrant/Cargo.toml index 9bb167b2..2287daa2 100644 --- a/axum/qdrant/Cargo.toml +++ b/axum/qdrant/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] axum = "0.7.3" qdrant-client = "1.7.0" -shuttle-axum = "0.43.0" -shuttle-qdrant = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-qdrant = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/axum/static-files/Cargo.toml b/axum/static-files/Cargo.toml index 826e6d61..65f5bf7c 100644 --- a/axum/static-files/Cargo.toml +++ b/axum/static-files/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] axum = "0.7.3" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" tower-http = { version = "0.5.0", features = ["fs"] } diff --git a/axum/turso/Cargo.toml b/axum/turso/Cargo.toml index 895b134b..4ad72d8a 100644 --- a/axum/turso/Cargo.toml +++ b/axum/turso/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" [dependencies] axum = "0.7.3" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-turso = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-turso = "0.44.0" libsql = "0.3.1" tokio = "1.26.0" serde = { version = "1.0.164", features = ["derive"] } diff --git a/axum/websocket/Cargo.toml b/axum/websocket/Cargo.toml index 7fa49747..aaf6b359 100644 --- a/axum/websocket/Cargo.toml +++ b/axum/websocket/Cargo.toml @@ -10,7 +10,7 @@ futures = "0.3.28" reqwest = "0.11.23" serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" tower-http = { version = "0.5.0", features = ["fs"] } diff --git a/bevy/hello-world/server/Cargo.toml b/bevy/hello-world/server/Cargo.toml index e54b73ba..4d94a590 100644 --- a/bevy/hello-world/server/Cargo.toml +++ b/bevy/hello-world/server/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] axum = "0.7.4" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" tower-http = { version = "0.5.0", features = ["fs"] } diff --git a/custom-resource/pdo/Cargo.toml b/custom-resource/pdo/Cargo.toml index 7d2f78dc..1d7c50f7 100644 --- a/custom-resource/pdo/Cargo.toml +++ b/custom-resource/pdo/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" async-trait = "0.1.56" axum = "0.7.3" serde = { version = "1", features = ["derive"] } -shuttle-service = "0.43.0" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-service = "0.44.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" diff --git a/custom-service/none/Cargo.toml b/custom-service/none/Cargo.toml index c276c677..ed0083a2 100644 --- a/custom-service/none/Cargo.toml +++ b/custom-service/none/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" publish = false [dependencies] -shuttle-runtime = "0.43.0" +shuttle-runtime = "0.44.0" tokio = "1" diff --git a/custom-service/request-scheduler/Cargo.toml b/custom-service/request-scheduler/Cargo.toml index 841ba488..c5219c01 100644 --- a/custom-service/request-scheduler/Cargo.toml +++ b/custom-service/request-scheduler/Cargo.toml @@ -10,7 +10,7 @@ chrono = "0.4.24" cron = "0.12.0" reqwest = "0.11.17" serde = "1.0.163" -shuttle-persist = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-persist = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.0" tracing = "0.1.37" diff --git a/fullstack-templates/saas/backend/Cargo.toml b/fullstack-templates/saas/backend/Cargo.toml index 4a8f8f2d..73c4edbf 100644 --- a/fullstack-templates/saas/backend/Cargo.toml +++ b/fullstack-templates/saas/backend/Cargo.toml @@ -16,9 +16,9 @@ lettre = "0.11.4" rand = "0.8.5" reqwest = "0.11.16" serde = { version = "1.0.160", features = ["derive"] } -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = { version = "0.7.1", features = ["time"] } time = { version = "0.3.20", features = ["serde"] } tokio = "1.27.0" diff --git a/loco/hello-world/Cargo.toml b/loco/hello-world/Cargo.toml index d32f418e..dc95a9c0 100644 --- a/loco/hello-world/Cargo.toml +++ b/loco/hello-world/Cargo.toml @@ -13,8 +13,8 @@ async-trait = "0.1.74" axum = "0.7.1" eyre = "*" loco-rs = { version = "0.3.1", default-features = false, features = ["cli"] } -shuttle-axum = "0.43.0" -shuttle-runtime = { version = "0.43.0", default-features = false } +shuttle-axum = "0.44.0" +shuttle-runtime = { version = "0.44.0", default-features = false } serde = "*" serde_json = "*" tokio = "1.33.0" diff --git a/other/standalone-binary/Cargo.toml b/other/standalone-binary/Cargo.toml index 4dfe2ae0..9c66e359 100644 --- a/other/standalone-binary/Cargo.toml +++ b/other/standalone-binary/Cargo.toml @@ -15,6 +15,6 @@ path = "src/bin/standalone.rs" [dependencies] axum = "0.7.3" dotenvy = "0.15.7" -shuttle-axum = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-axum = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.28.2" diff --git a/poem/hello-world/Cargo.toml b/poem/hello-world/Cargo.toml index 09df26bb..fd4d684a 100644 --- a/poem/hello-world/Cargo.toml +++ b/poem/hello-world/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] poem = "3.0.0" -shuttle-poem = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-poem = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/poem/mongodb/Cargo.toml b/poem/mongodb/Cargo.toml index f6c4b113..166a7f26 100644 --- a/poem/mongodb/Cargo.toml +++ b/poem/mongodb/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] mongodb = "2.4.0" poem = "3.0.0" -shuttle-poem = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["mongodb"] } -shuttle-runtime = "0.43.0" +shuttle-poem = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["mongodb"] } +shuttle-runtime = "0.44.0" serde = { version = "1.0.148", features = ["derive"] } serde_json = "1.0.89" tokio = "1.26.0" diff --git a/poise/hello-world/Cargo.toml b/poise/hello-world/Cargo.toml index 9884ae36..a19f6373 100644 --- a/poise/hello-world/Cargo.toml +++ b/poise/hello-world/Cargo.toml @@ -7,8 +7,8 @@ publish = false [dependencies] anyhow = "1.0.68" poise = "0.6.1" -shuttle-runtime = "0.43.0" +shuttle-runtime = "0.44.0" # Since poise is a serenity command framework, it can run on Shuttle with shuttle-serenity -shuttle-serenity = "0.43.0" +shuttle-serenity = "0.44.0" tracing = "0.1.37" tokio = "1.26.0" diff --git a/rocket/dyn-templates/Cargo.toml b/rocket/dyn-templates/Cargo.toml index 040b24b3..1a38b845 100644 --- a/rocket/dyn-templates/Cargo.toml +++ b/rocket/dyn-templates/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] rocket = "0.5.0" rocket_dyn_templates = { version = "0.1.0", features = ["handlebars"] } -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/rocket/hello-world/Cargo.toml b/rocket/hello-world/Cargo.toml index 353a79f6..3433498a 100644 --- a/rocket/hello-world/Cargo.toml +++ b/rocket/hello-world/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] rocket = "0.5.0" -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/rocket/jwt-authentication/Cargo.toml b/rocket/jwt-authentication/Cargo.toml index acff10bc..20f01bd7 100644 --- a/rocket/jwt-authentication/Cargo.toml +++ b/rocket/jwt-authentication/Cargo.toml @@ -9,6 +9,6 @@ jsonwebtoken = { version = "8.1.1", default-features = false } lazy_static = "1.4.0" rocket = { version = "0.5.0", features = ["json"] } serde = { version = "1.0.148", features = ["derive"] } -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/rocket/opendal-memory/Cargo.toml b/rocket/opendal-memory/Cargo.toml index b391e0bf..8c4df0e9 100644 --- a/rocket/opendal-memory/Cargo.toml +++ b/rocket/opendal-memory/Cargo.toml @@ -4,10 +4,10 @@ version = "0.1.0" edition = "2021" [dependencies] -shuttle-runtime = "0.43.0" -shuttle-opendal = "0.43.0" +shuttle-runtime = "0.44.0" +shuttle-opendal = "0.44.0" tokio = "1.26.0" -shuttle-rocket = "0.43.0" +shuttle-rocket = "0.44.0" opendal = "0.45.0" rocket = { version = "0.5.0", features = ["json"] } serde = { version = "1.0.148", features = ["derive"] } diff --git a/rocket/persist/Cargo.toml b/rocket/persist/Cargo.toml index 6a58fb02..2e0c336e 100644 --- a/rocket/persist/Cargo.toml +++ b/rocket/persist/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] rocket = { version = "0.5.0", features = ["json"] } serde = { version = "1.0.148", features = ["derive"] } -shuttle-persist = "0.43.0" -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-persist = "0.44.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/rocket/postgres/Cargo.toml b/rocket/postgres/Cargo.toml index 38e3a1e4..91eabf56 100644 --- a/rocket/postgres/Cargo.toml +++ b/rocket/postgres/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" [dependencies] rocket = { version = "0.5.0", features = ["json"] } serde = "1.0.148" -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = "0.7.1" tokio = "1.26.0" diff --git a/rocket/secrets/Cargo.toml b/rocket/secrets/Cargo.toml index e6acc788..27e75cd7 100644 --- a/rocket/secrets/Cargo.toml +++ b/rocket/secrets/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] anyhow = "1.0.66" rocket = "0.5.0" -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/rocket/static-files/Cargo.toml b/rocket/static-files/Cargo.toml index ac828254..50708946 100644 --- a/rocket/static-files/Cargo.toml +++ b/rocket/static-files/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] rocket = "0.5.0" -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/rocket/url-shortener/Cargo.toml b/rocket/url-shortener/Cargo.toml index cde5892b..37fd1d85 100644 --- a/rocket/url-shortener/Cargo.toml +++ b/rocket/url-shortener/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" nanoid = "0.4.0" rocket = { version = "0.5.0", features = ["json"] } serde = "1.0.148" -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = "0.7.1" tokio = "1.26.0" url = "2.3.1" diff --git a/rocket/workspace/hello-world/Cargo.toml b/rocket/workspace/hello-world/Cargo.toml index 718d655c..f64890ee 100644 --- a/rocket/workspace/hello-world/Cargo.toml +++ b/rocket/workspace/hello-world/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] rocket = "0.5.0" shared = { path = "../shared", version = "0.1.0" } -shuttle-rocket = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-rocket = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/salvo/hello-world/Cargo.toml b/salvo/hello-world/Cargo.toml index fbefc5fb..77b2a976 100644 --- a/salvo/hello-world/Cargo.toml +++ b/salvo/hello-world/Cargo.toml @@ -5,6 +5,6 @@ edition = "2021" [dependencies] salvo = "0.63.0" -shuttle-salvo = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-salvo = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/salvo/image-rescaler/Cargo.toml b/salvo/image-rescaler/Cargo.toml index 40fc4af4..e173d351 100644 --- a/salvo/image-rescaler/Cargo.toml +++ b/salvo/image-rescaler/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] image = "0.24.8" salvo = "0.63.0" -shuttle-salvo = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-salvo = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" diff --git a/serenity/hello-world/Cargo.toml b/serenity/hello-world/Cargo.toml index 6949ef9e..b18fac23 100644 --- a/serenity/hello-world/Cargo.toml +++ b/serenity/hello-world/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] anyhow = "1.0.66" serenity = { version = "0.12.0", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-runtime = "0.43.0" -shuttle-serenity = "0.43.0" +shuttle-runtime = "0.44.0" +shuttle-serenity = "0.44.0" tokio = "1.26.0" tracing = "0.1.37" diff --git a/serenity/postgres/Cargo.toml b/serenity/postgres/Cargo.toml index debfdcea..6d33d546 100644 --- a/serenity/postgres/Cargo.toml +++ b/serenity/postgres/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" anyhow = "1.0.66" serde = "1.0.148" serenity = { version = "0.12.0", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-runtime = "0.43.0" -shuttle-serenity = "0.43.0" -shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] } +shuttle-runtime = "0.44.0" +shuttle-serenity = "0.44.0" +shuttle-shared-db = { version = "0.44.0", features = ["postgres", "sqlx"] } sqlx = "0.7.1" tokio = "1.26.0" tracing = "0.1.37" diff --git a/serenity/weather-forecast/Cargo.toml b/serenity/weather-forecast/Cargo.toml index ccbce7db..4218fd92 100644 --- a/serenity/weather-forecast/Cargo.toml +++ b/serenity/weather-forecast/Cargo.toml @@ -8,7 +8,7 @@ anyhow = "1.0.66" reqwest = { version = "0.11.24", features = ["json"] } serde = "1.0.197" serenity = { version = "0.12.0", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] } -shuttle-runtime = "0.43.0" -shuttle-serenity = "0.43.0" +shuttle-runtime = "0.44.0" +shuttle-serenity = "0.44.0" tokio = "1.26.0" tracing = "0.1.37" diff --git a/thruster/hello-world/Cargo.toml b/thruster/hello-world/Cargo.toml index 43c30eef..36f20d9d 100644 --- a/thruster/hello-world/Cargo.toml +++ b/thruster/hello-world/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -shuttle-thruster = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-thruster = "0.44.0" +shuttle-runtime = "0.44.0" thruster = { version = "1.3.0", features = ["hyper_server"] } tokio = "1.26.0" diff --git a/tide/hello-world/Cargo.toml b/tide/hello-world/Cargo.toml index 767d0098..77b2dcb4 100644 --- a/tide/hello-world/Cargo.toml +++ b/tide/hello-world/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -shuttle-tide = "0.43.0" -shuttle-runtime = "0.43.0" +shuttle-tide = "0.44.0" +shuttle-runtime = "0.44.0" tokio = "1.26.0" tide = "0.16.0" diff --git a/tower/hello-world/Cargo.toml b/tower/hello-world/Cargo.toml index 65442cd5..b142eeae 100644 --- a/tower/hello-world/Cargo.toml +++ b/tower/hello-world/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] hyper = { version = "0.14.23", features = ["full"] } -shuttle-runtime = "0.43.0" -shuttle-tower = "0.43.0" +shuttle-runtime = "0.44.0" +shuttle-tower = "0.44.0" tower = { version = "0.4.13", features = ["full"] } tokio = "1.26.0" diff --git a/tracing/custom-tracing-subscriber/Cargo.toml b/tracing/custom-tracing-subscriber/Cargo.toml index e8e9ef7b..7a566f7f 100644 --- a/tracing/custom-tracing-subscriber/Cargo.toml +++ b/tracing/custom-tracing-subscriber/Cargo.toml @@ -5,9 +5,9 @@ edition = "2021" [dependencies] actix-web = "4.3.1" -shuttle-actix-web = "0.43.0" +shuttle-actix-web = "0.44.0" # disable default features to disable the Shuttle default tracing subscriber -shuttle-runtime = { version = "0.43.0", default-features = false } +shuttle-runtime = { version = "0.44.0", default-features = false } tokio = "1.26.0" tracing = "0.1.37" tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } diff --git a/warp/hello-world/Cargo.toml b/warp/hello-world/Cargo.toml index a760020c..63b3a3c3 100644 --- a/warp/hello-world/Cargo.toml +++ b/warp/hello-world/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -shuttle-runtime = "0.43.0" -shuttle-warp = "0.43.0" +shuttle-runtime = "0.44.0" +shuttle-warp = "0.44.0" tokio = "1.26.0" warp = "0.3.3"