mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
format cargo tomls
This commit is contained in:
parent
cec2a018ff
commit
e5503e6525
2 changed files with 37 additions and 15 deletions
|
@ -55,7 +55,11 @@ tokio = { version = "1.12.0", features = ["fs"] }
|
||||||
tokio-util = { version = "0.7.0", features = ["codec"] }
|
tokio-util = { version = "0.7.0", features = ["codec"] }
|
||||||
pin-project = "1.0.12"
|
pin-project = "1.0.12"
|
||||||
bytes = "1.0.0"
|
bytes = "1.0.0"
|
||||||
reqwest = { version = "0.11.10", features = ["json", "stream", "multipart"], default-features = false }
|
reqwest = { version = "0.11.10", features = [
|
||||||
|
"json",
|
||||||
|
"stream",
|
||||||
|
"multipart",
|
||||||
|
], default-features = false }
|
||||||
url = { version = "2", features = ["serde"] }
|
url = { version = "2", features = ["serde"] }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
||||||
|
@ -81,7 +85,12 @@ vecrem = { version = "0.1", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
pretty_env_logger = "0.4"
|
pretty_env_logger = "0.4"
|
||||||
tokio = { version = "1.8.0", features = ["fs", "macros", "macros", "rt-multi-thread"] }
|
tokio = { version = "1.8.0", features = [
|
||||||
|
"fs",
|
||||||
|
"macros",
|
||||||
|
"macros",
|
||||||
|
"rt-multi-thread",
|
||||||
|
] }
|
||||||
cool_asserts = "2.0.3"
|
cool_asserts = "2.0.3"
|
||||||
|
|
||||||
xshell = "0.2"
|
xshell = "0.2"
|
||||||
|
@ -118,4 +127,9 @@ doc-scrape-examples = true
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "erased"
|
name = "erased"
|
||||||
required-features = ["tokio/macros", "tokio/rt-multi-thread", "erased", "trace_adaptor"]
|
required-features = [
|
||||||
|
"tokio/macros",
|
||||||
|
"tokio/rt-multi-thread",
|
||||||
|
"erased",
|
||||||
|
"trace_adaptor",
|
||||||
|
]
|
||||||
|
|
|
@ -4,6 +4,7 @@ version = "0.12.2"
|
||||||
description = "An elegant Telegram bots framework for Rust"
|
description = "An elegant Telegram bots framework for Rust"
|
||||||
|
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
|
@ -37,7 +38,9 @@ native-tls = ["teloxide-core/native-tls"]
|
||||||
rustls = ["teloxide-core/rustls"]
|
rustls = ["teloxide-core/rustls"]
|
||||||
auto-send = ["teloxide-core/auto_send"]
|
auto-send = ["teloxide-core/auto_send"]
|
||||||
throttle = ["teloxide-core/throttle"]
|
throttle = ["teloxide-core/throttle"]
|
||||||
cache-me = ["teloxide-core/cache_me"] # FIXME: why teloxide and core use - _ differently?
|
cache-me = [
|
||||||
|
"teloxide-core/cache_me",
|
||||||
|
] # FIXME: why teloxide and core use - _ differently?
|
||||||
trace-adaptor = ["teloxide-core/trace_adaptor"]
|
trace-adaptor = ["teloxide-core/trace_adaptor"]
|
||||||
erased = ["teloxide-core/erased"]
|
erased = ["teloxide-core/erased"]
|
||||||
|
|
||||||
|
@ -166,7 +169,12 @@ required-features = ["macros", "ctrlc_handler"]
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "db_remember"
|
name = "db_remember"
|
||||||
required-features = ["sqlite-storage", "redis-storage", "bincode-serializer", "macros"]
|
required-features = [
|
||||||
|
"sqlite-storage",
|
||||||
|
"redis-storage",
|
||||||
|
"bincode-serializer",
|
||||||
|
"macros",
|
||||||
|
]
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "dialogue"
|
name = "dialogue"
|
||||||
|
|
Loading…
Reference in a new issue