# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "teloxide-core" version = "0.10.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Core part of the `teloxide` library - telegram bot API client" homepage = "https://github.com/teloxide/teloxide" documentation = "https://docs.rs/teloxide-core/" readme = "README.md" keywords = [ "teloxide", "telegram", "telegram-bot", "telegram-bot-api", "bot", ] categories = [ "api-bindings", "asynchronous", ] license = "MIT" repository = "https://github.com/teloxide/teloxide" [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" [lib] name = "teloxide_core" path = "src/lib.rs" [[example]] name = "erased" path = "examples/erased.rs" required-features = [ "tokio/macros", "tokio/rt-multi-thread", "erased", "trace_adaptor", ] [[example]] name = "self_info" path = "examples/self_info.rs" doc-scrape-examples = true required-features = [ "tokio/macros", "tokio/rt-multi-thread", ] [dependencies.bitflags] version = "1.2" [dependencies.bytes] version = "1.0.0" [dependencies.chrono] version = "0.4.32" default-features = false [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] version = "0.11.10" features = [ "json", "stream", "multipart", ] default-features = false [dependencies.serde] version = "1.0.114" features = ["derive"] [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] version = "1.12.0" features = ["fs"] [dependencies.tokio-util] version = "0.7.0" features = ["codec"] [dependencies.url] version = "2" features = ["serde"] [dependencies.uuid] version = "1.1.0" features = ["v4"] [dependencies.vecrem] version = "0.1" optional = true [dev-dependencies.aho-corasick] version = "0.7" [dev-dependencies.cool_asserts] version = "2.0.3" [dev-dependencies.indexmap] version = "1.9" features = ["serde-1"] [dev-dependencies.itertools] version = "0.10" [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.ron] version = "0.7" [dev-dependencies.tokio] version = "1.8.0" features = [ "fs", "macros", "macros", "rt-multi-thread", ] [dev-dependencies.xshell] version = "0.2" [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 = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(dep_docsrs)"]