[dependencies.bitflags]
version = "1.2"
[dependencies.bytes]
version = "1.0.0"
[dependencies.chrono]
default-features = false
version = "0.4.32"
[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.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]
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"
[[example]]
name = "erased"
path = "examples/erased.rs"
required-features = ["tokio/macros", "tokio/rt-multi-thread", "erased", "trace_adaptor"]
[[example]]
doc-scrape-examples = true
name = "self_info"
path = "examples/self_info.rs"
required-features = ["tokio/macros", "tokio/rt-multi-thread"]
[features]
cache_me = []
default = ["native-tls"]
erased = []
full = ["throttle", "trace_adaptor", "erased", "cache_me"]
native-tls = ["reqwest/native-tls"]
nightly = []
rustls = ["reqwest/rustls-tls"]
rustls-native-roots = ["reqwest/rustls-tls-native-roots"]
throttle = ["vecrem"]
trace_adaptor = []
[lib]
name = "teloxide_core"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(dep_docsrs)"]
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
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"
rust-version = "1.70"
version = "0.10.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"]
[package.metadata.release]
enable-features = ["full"]
tag-prefix = "core-"
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
replace = 'teloxide-core = "{{version}}"'
search = 'teloxide-core = "[^"]+"'
[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
replace = 'teloxide-core = "{{version}}"'
search = 'teloxide-core = "[^"]+"'
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = """
## unreleased
## {{version}} - {{date}}"""
search = "## unreleased"