From a233c3bcd0a4e839c768f1d08b61fa53c9ecb4b9 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Sat, 20 Jan 2024 03:48:05 +0100 Subject: [PATCH] Update some easy deps --- crates/teloxide/Cargo.toml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/crates/teloxide/Cargo.toml b/crates/teloxide/Cargo.toml index 8286a3a7..bf698114 100644 --- a/crates/teloxide/Cargo.toml +++ b/crates/teloxide/Cargo.toml @@ -23,7 +23,11 @@ default = ["native-tls", "ctrlc_handler", "teloxide-core/default", "auto-send"] webhooks = ["rand"] webhooks-axum = ["webhooks", "axum", "tower", "tower-http"] -sqlite-storage-nativetls = ["sqlx", "sqlx/runtime-tokio-native-tls", "native-tls"] +sqlite-storage-nativetls = [ + "sqlx", + "sqlx/runtime-tokio-native-tls", + "native-tls", +] sqlite-storage-rustls = ["sqlx", "sqlx/runtime-tokio-rustls", "rustls"] redis-storage = ["redis"] cbor-serializer = ["serde_cbor"] @@ -94,15 +98,15 @@ derive_more = "0.99" thiserror = "1.0" futures = "0.3.15" pin-project = "1.0" -serde_with_macros = "1.4" -aquamarine = "0.1.11" +serde_with_macros = "3.4" +aquamarine = "0.5.0" either = "1.9.0" sqlx = { version = "0.7.3", optional = true, default-features = false, features = [ "macros", "sqlite", ] } -redis = { version = "0.21", features = ["tokio-comp"], optional = true } +redis = { version = "0.24", features = ["tokio-comp"], optional = true } serde_cbor = { version = "0.11", optional = true } bincode = { version = "1.3", optional = true } axum = { version = "0.6.0", optional = true } @@ -113,7 +117,7 @@ rand = { version = "0.8.5", optional = true } [dev-dependencies] rand = "0.8.3" -pretty_env_logger = "0.4.0" +pretty_env_logger = "0.5.0" serde = "1" serde_json = "1" tokio = { version = "1.8", features = ["fs", "rt-multi-thread", "macros"] } @@ -146,7 +150,11 @@ required-features = ["redis-storage", "cbor-serializer", "bincode-serializer"] [[test]] name = "sqlite" path = "tests/sqlite.rs" -required-features = ["sqlite-storage-nativetls", "cbor-serializer", "bincode-serializer"] +required-features = [ + "sqlite-storage-nativetls", + "cbor-serializer", + "bincode-serializer", +] [[example]]