teloxide 0.12.2

An elegant Telegram bots framework for Rust
Documentation
[[example]]
doc-scrape-examples = true
name = "admin"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "buttons"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "command"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "db_remember"
required-features = ["sqlite-storage", "redis-storage", "bincode-serializer", "macros"]

[[example]]
name = "dialogue"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "dispatching_features"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "heroku_ping_pong"
required-features = ["webhooks-axum", "ctrlc_handler"]

[[example]]
name = "inline"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "ngrok_ping_pong"
required-features = ["webhooks-axum", "ctrlc_handler"]

[[example]]
name = "purchase"
required-features = ["macros", "ctrlc_handler"]

[[example]]
name = "shared_state"
required-features = ["ctrlc_handler"]

[[example]]
name = "throw_dice"
required-features = ["ctrlc_handler"]

[[test]]
name = "redis"
path = "tests/redis.rs"
required-features = ["redis-storage", "cbor-serializer", "bincode-serializer"]

[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
required-features = ["sqlite-storage", "cbor-serializer", "bincode-serializer"]
[dependencies.aquamarine]
version = "0.1.11"

[dependencies.axum]
optional = true
version = "0.6.0"

[dependencies.bincode]
optional = true
version = "1.3"

[dependencies.bytes]
version = "1.0"

[dependencies.derive_more]
version = "0.99"

[dependencies.dptree]
version = "0.3.0"

[dependencies.futures]
version = "0.3.15"

[dependencies.log]
version = "0.4"

[dependencies.mime]
version = "0.3"

[dependencies.pin-project]
version = "1.0"

[dependencies.rand]
optional = true
version = "0.8.5"

[dependencies.redis]
features = ["tokio-comp"]
optional = true
version = "0.21"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_cbor]
optional = true
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with_macros]
version = "1.4"

[dependencies.sqlx]
default-features = false
features = ["macros", "sqlite"]
optional = true
version = "0.6"

[dependencies.teloxide-core]
default-features = false
version = "0.9.1"

[dependencies.teloxide-macros]
optional = true
version = "0.7.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
features = ["fs"]
version = "1.8"

[dependencies.tokio-stream]
version = "0.1.8"

[dependencies.tokio-util]
version = "0.7"

[dependencies.tower]
optional = true
version = "0.4.12"

[dependencies.tower-http]
features = ["trace"]
optional = true
version = "0.3.4"

[dependencies.url]
version = "2.2.2"
[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.pretty_env_logger]
version = "0.4.0"

[dev-dependencies.rand]
version = "0.8.3"

[dev-dependencies.reqwest]
version = "0.11.11"

[dev-dependencies.serde]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
features = ["fs", "rt-multi-thread", "macros"]
version = "1.8"

[dev-dependencies.tokio-stream]
version = "0.1"

[features]
auto-send = ["teloxide-core/auto_send"]
bincode-serializer = ["bincode"]
cache-me = ["teloxide-core/cache_me"]
cbor-serializer = ["serde_cbor"]
ctrlc_handler = ["tokio/signal"]
default = ["native-tls", "ctrlc_handler", "teloxide-core/default", "auto-send"]
erased = ["teloxide-core/erased"]
full = ["webhooks", "webhooks-axum", "sqlite-storage", "redis-storage", "cbor-serializer", "bincode-serializer", "macros", "ctrlc_handler", "teloxide-core/full", "native-tls", "rustls", "auto-send", "throttle", "cache-me", "trace-adaptor", "erased"]
macros = ["teloxide-macros"]
native-tls = ["teloxide-core/native-tls"]
nightly = ["teloxide-core/nightly"]
redis-storage = ["redis"]
rustls = ["teloxide-core/rustls"]
sqlite-storage = ["sqlx", "sqlx/runtime-tokio-native-tls", "native-tls"]
sqlite-storage-rustls = ["sqlx", "sqlx/runtime-tokio-rustls", "rustls"]
throttle = ["teloxide-core/throttle"]
trace-adaptor = ["teloxide-core/trace_adaptor"]
webhooks = ["rand"]
webhooks-axum = ["webhooks", "axum", "tower", "tower-http"]

[package]
categories = ["web-programming", "api-bindings", "asynchronous"]
description = "An elegant Telegram bots framework for Rust"
documentation = "https://docs.rs/teloxide/"
edition = "2021"
homepage = "https://github.com/teloxide/teloxide"
keywords = ["teloxide", "telegram", "telegram-bot", "telegram-bot-api", "bot"]
license = "MIT"
name = "teloxide"
readme = "README.md"
repository = "https://github.com/teloxide/teloxide"
resolver = "1"
rust-version = "1.64"
version = "0.12.2"
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
features = ["full", "nightly"]
rustc-args = ["--cfg", "dep_docsrs"]
rustdoc-args = ["--cfg", "docsrs"]