mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Update some easy deps
This commit is contained in:
parent
2945f4d301
commit
a233c3bcd0
1 changed files with 14 additions and 6 deletions
|
@ -23,7 +23,11 @@ default = ["native-tls", "ctrlc_handler", "teloxide-core/default", "auto-send"]
|
||||||
webhooks = ["rand"]
|
webhooks = ["rand"]
|
||||||
webhooks-axum = ["webhooks", "axum", "tower", "tower-http"]
|
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"]
|
sqlite-storage-rustls = ["sqlx", "sqlx/runtime-tokio-rustls", "rustls"]
|
||||||
redis-storage = ["redis"]
|
redis-storage = ["redis"]
|
||||||
cbor-serializer = ["serde_cbor"]
|
cbor-serializer = ["serde_cbor"]
|
||||||
|
@ -94,15 +98,15 @@ derive_more = "0.99"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
futures = "0.3.15"
|
futures = "0.3.15"
|
||||||
pin-project = "1.0"
|
pin-project = "1.0"
|
||||||
serde_with_macros = "1.4"
|
serde_with_macros = "3.4"
|
||||||
aquamarine = "0.1.11"
|
aquamarine = "0.5.0"
|
||||||
either = "1.9.0"
|
either = "1.9.0"
|
||||||
|
|
||||||
sqlx = { version = "0.7.3", optional = true, default-features = false, features = [
|
sqlx = { version = "0.7.3", optional = true, default-features = false, features = [
|
||||||
"macros",
|
"macros",
|
||||||
"sqlite",
|
"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 }
|
serde_cbor = { version = "0.11", optional = true }
|
||||||
bincode = { version = "1.3", optional = true }
|
bincode = { version = "1.3", optional = true }
|
||||||
axum = { version = "0.6.0", optional = true }
|
axum = { version = "0.6.0", optional = true }
|
||||||
|
@ -113,7 +117,7 @@ rand = { version = "0.8.5", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = "0.8.3"
|
rand = "0.8.3"
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.5.0"
|
||||||
serde = "1"
|
serde = "1"
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
tokio = { version = "1.8", features = ["fs", "rt-multi-thread", "macros"] }
|
tokio = { version = "1.8", features = ["fs", "rt-multi-thread", "macros"] }
|
||||||
|
@ -146,7 +150,11 @@ required-features = ["redis-storage", "cbor-serializer", "bincode-serializer"]
|
||||||
[[test]]
|
[[test]]
|
||||||
name = "sqlite"
|
name = "sqlite"
|
||||||
path = "tests/sqlite.rs"
|
path = "tests/sqlite.rs"
|
||||||
required-features = ["sqlite-storage-nativetls", "cbor-serializer", "bincode-serializer"]
|
required-features = [
|
||||||
|
"sqlite-storage-nativetls",
|
||||||
|
"cbor-serializer",
|
||||||
|
"bincode-serializer",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
|
|
Loading…
Reference in a new issue