[[example]]
doc-scrape-examples = true
name = "self_info"
required-features = ["tokio/macros", "tokio/rt-multi-thread"]
[[example]]
name = "erased"
required-features = ["tokio/macros", "tokio/rt-multi-thread", "erased", "trace_adaptor"]
[dependencies.bitflags]
version = "1.2"
[dependencies.bytes]
version = "1.0.0"
[dependencies.chrono]
default-features = false
version = "0.4.19"
[dependencies.derive_more]
version = "0.99.9"
[dependencies.either]
version = "1.6.1"
[dependencies.futures]
version = "0.3.5"
[dependencies.log]
version = "0.4"
[dependencies.mime]
version = "0.3.16"
[dependencies.never]
version = "0.1.0"
[dependencies.once_cell]
version = "1.5.0"
[dependencies.pin-project]
version = "1.0.12"
[dependencies.rc-box]
version = "1.1.1"
[dependencies.reqwest]
default-features = false
features = ["json", "stream", "multipart"]
version = "0.11.10"
[dependencies.serde]
features = ["derive"]
version = "1.0.114"
[dependencies.serde_json]
version = "1.0.55"
[dependencies.serde_with_macros]
version = "1.5.2"
[dependencies.take_mut]
version = "0.2"
[dependencies.takecell]
version = "0.1"
[dependencies.thiserror]
version = "1.0.20"
[dependencies.tokio]
features = ["fs"]
version = "1.12.0"
[dependencies.tokio-util]
features = ["codec"]
version = "0.7.0"
[dependencies.url]
features = ["serde"]
version = "2"
[dependencies.uuid]
features = ["v4"]
version = "1.1.0"
[dependencies.vecrem]
optional = true
version = "0.1"
[dev-dependencies.aho-corasick]
version = "0.7"
[dev-dependencies.cool_asserts]
version = "2.0.3"
[dev-dependencies.indexmap]
features = ["serde-1"]
version = "1.9"
[dev-dependencies.itertools]
version = "0.10"
[dev-dependencies.pretty_env_logger]
version = "0.4"
[dev-dependencies.ron]
version = "0.7"
[dev-dependencies.tokio]
features = ["fs", "macros", "macros", "rt-multi-thread"]
version = "1.8.0"
[dev-dependencies.xshell]
version = "0.2"
[features]
auto_send = []
cache_me = []
default = ["native-tls"]
erased = []
full = ["throttle", "trace_adaptor", "erased", "cache_me", "auto_send"]
native-tls = ["reqwest/native-tls"]
nightly = []
rustls = ["reqwest/rustls-tls"]
throttle = ["vecrem", "tokio/macros"]
trace_adaptor = []
[package]
categories = ["api-bindings", "asynchronous"]
description = "Core part of the `teloxide` library - telegram bot API client"
documentation = "https://docs.rs/teloxide-core/"
edition = "2021"
homepage = "https://github.com/teloxide/teloxide"
keywords = ["teloxide", "telegram", "telegram-bot", "telegram-bot-api", "bot"]
license = "MIT"
name = "teloxide-core"
readme = "README.md"
repository = "https://github.com/teloxide/teloxide"
resolver = "1"
rust-version = "1.64"
version = "0.9.1"
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
features = ["full", "nightly", "tokio/macros", "tokio/rt-multi-thread"]
rustdoc-args = ["--cfg", "docsrs", "-Znormalize-docs"]