Update deps, shuttle v0.43.0

This commit is contained in:
Aadi Desai 2024-04-12 16:52:21 +01:00
parent 72d2881671
commit 913d5d53fe
Signed by: supleed2
SSH key fingerprint: SHA256:CkbNRs0yVzXEiUp2zd0PSxsfRUMFF9bLlKXtE1xEbKM
3 changed files with 317 additions and 419 deletions

715
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -11,21 +11,20 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.80"
axum = "0.7.4"
indoc = "2.0.4"
anyhow = "1.0.82"
axum = "0.7.5"
indoc = "2.0.5"
poise = "0.6.1"
reqwest = { version = "0.11.24", features = ["json"] }
reqwest = { version = "0.12.3", features = ["json"] }
serde = { version = "1.0.197", features = ["derive"] }
shuttle-runtime = { version = "0.39.0", default-features = false }
shuttle-secrets = "0.39.0"
shuttle-shared-db = { version = "0.39.0", features = ["postgres", "sqlx"] }
sqlx = { version = "0.7.3", features = [
shuttle-runtime = { version = "0.43.0", default-features = false }
shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] }
sqlx = { version = "0.7.4", features = [
"macros",
"postgres",
"runtime-tokio-native-tls",
] }
tokio = "1.36.0"
tokio = "1.37.0"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["time"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "time"] }
url = "2.5.0"

View file

@ -72,7 +72,7 @@ macro_rules! secret {
#[shuttle_runtime::main]
async fn nanobot(
#[shuttle_secrets::Secrets] secret_store: shuttle_secrets::SecretStore,
#[shuttle_runtime::Secrets] secret_store: shuttle_runtime::SecretStore,
#[shuttle_shared_db::Postgres] pool: sqlx::PgPool,
) -> Result<service::NanoBot, shuttle_runtime::Error> {
// Set Up Tracing Subscriber