mirror of
https://github.com/supleed2/nanobot.git
synced 2025-01-02 11:25:48 +00:00
Update deps, shuttle v0.43.0
This commit is contained in:
parent
72d2881671
commit
913d5d53fe
715
Cargo.lock
generated
715
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
19
Cargo.toml
19
Cargo.toml
|
@ -11,21 +11,20 @@ publish = false
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.80"
|
anyhow = "1.0.82"
|
||||||
axum = "0.7.4"
|
axum = "0.7.5"
|
||||||
indoc = "2.0.4"
|
indoc = "2.0.5"
|
||||||
poise = "0.6.1"
|
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"] }
|
serde = { version = "1.0.197", features = ["derive"] }
|
||||||
shuttle-runtime = { version = "0.39.0", default-features = false }
|
shuttle-runtime = { version = "0.43.0", default-features = false }
|
||||||
shuttle-secrets = "0.39.0"
|
shuttle-shared-db = { version = "0.43.0", features = ["postgres", "sqlx"] }
|
||||||
shuttle-shared-db = { version = "0.39.0", features = ["postgres", "sqlx"] }
|
sqlx = { version = "0.7.4", features = [
|
||||||
sqlx = { version = "0.7.3", features = [
|
|
||||||
"macros",
|
"macros",
|
||||||
"postgres",
|
"postgres",
|
||||||
"runtime-tokio-native-tls",
|
"runtime-tokio-native-tls",
|
||||||
] }
|
] }
|
||||||
tokio = "1.36.0"
|
tokio = "1.37.0"
|
||||||
tracing = "0.1.40"
|
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"
|
url = "2.5.0"
|
||||||
|
|
|
@ -72,7 +72,7 @@ macro_rules! secret {
|
||||||
|
|
||||||
#[shuttle_runtime::main]
|
#[shuttle_runtime::main]
|
||||||
async fn nanobot(
|
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,
|
#[shuttle_shared_db::Postgres] pool: sqlx::PgPool,
|
||||||
) -> Result<service::NanoBot, shuttle_runtime::Error> {
|
) -> Result<service::NanoBot, shuttle_runtime::Error> {
|
||||||
// Set Up Tracing Subscriber
|
// Set Up Tracing Subscriber
|
||||||
|
|
Loading…
Reference in a new issue