Update some easy deps

This commit is contained in:
Maybe Waffle 2024-01-20 03:48:05 +01:00
parent 2945f4d301
commit a233c3bcd0

View file

@ -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]]