# 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" name = "tgbot" version = "0.27.0" authors = ["Ross Nomann "] description = "A Telegram Bot library" documentation = "https://docs.rs/tgbot" readme = "README.md" license = "MIT" repository = "https://github.com/tg-rs/tgbot" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "nightly", ] [[example]] name = "webhook" required-features = ["webhook"] [dependencies.async-stream] version = "0.3" [dependencies.axum] version = "0.7" optional = true [dependencies.bytes] version = "1.6" [dependencies.derive_more] version = "0.99" [dependencies.futures-util] version = "0.3" [dependencies.log] version = "0.4" [dependencies.mime] version = "0.3" [dependencies.mime_guess] version = "2.0" [dependencies.reqwest] version = "0.12" features = [ "json", "multipart", "socks", "rustls-tls", "stream", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.shellwords] version = "1.1" [dependencies.tokio] version = "1.38" features = [ "fs", "sync", "time", ] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dev-dependencies.dotenvy] version = "0.15" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.mockito] version = "1.4" [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.regex] version = "1.10" [dev-dependencies.tempfile] version = "3.10" [dev-dependencies.tokio] version = "1.38" features = [ "fs", "io-util", "macros", "rt-multi-thread", ] [dev-dependencies.toml] version = "0.8" [features] webhook = ["dep:axum"] [lints.rust] missing_docs = "warn"