# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "tbot" version = "0.6.7" authors = ["SnejUgal ", "AlexStrNik "] description = "Make cool Telegram bots with Rust easily." readme = "./readme.md" keywords = ["telegram", "telegram-bot", "telegram-bot-api"] categories = ["api-bindings", "asynchronous"] license = "MIT" repository = "https://gitlab.com/SnejUgal/tbot" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [[example]] name = "attachments" required-features = ["tokio/macros"] [[example]] name = "download" required-features = ["tokio/macros"] [[example]] name = "entities" required-features = ["tokio/macros"] [[example]] name = "echo" required-features = ["tokio/macros"] [[example]] name = "game" required-features = ["tokio/macros", "tokio/sync"] [[example]] name = "get_me" required-features = ["tokio/macros"] [[example]] name = "keyboard" required-features = ["tokio/macros"] [[example]] name = "location" required-features = ["tokio/macros"] [[example]] name = "messenger" required-features = ["tokio/macros", "tokio/sync"] [[example]] name = "payment" required-features = ["tokio/macros"] [[example]] name = "polls" required-features = ["tokio/macros"] [[example]] name = "proxy" required-features = ["tokio/macros"] [[example]] name = "predicates" required-features = ["tokio/macros"] [[example]] name = "questionary" required-features = ["tokio/macros", "tokio/sync"] [[example]] name = "sticker_packs" required-features = ["tokio/macros"] [[example]] name = "tutorial" required-features = ["tokio/macros", "tokio/sync"] [[example]] name = "webhook" required-features = ["tokio/macros"] [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.13.3" default-features = false [dependencies.hyper-proxy] version = "0.6" default-features = false [dependencies.hyper-rustls] version = "0.19" optional = true [dependencies.hyper-tls] version = "0.4" optional = true [dependencies.is-macro] version = "0.1.6" [dependencies.native-tls] version = "0.2" optional = true [dependencies.paste] version = "0.1" [dependencies.serde] version = "1.0.34" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "0.2" features = ["time", "rt-core", "tcp"] [dependencies.tokio-rustls] version = "0.12" optional = true [dependencies.tokio-tls] version = "0.3" optional = true [dependencies.tracing] version = "0.1" [dependencies.tracing-futures] version = "0.2" [dev-dependencies.meval] version = "0.2" [dev-dependencies.rand] version = "0.7" [features] default = ["tls"] proxy = [] rustls = ["hyper-proxy/rustls", "tokio-rustls", "hyper-rustls"] tls = ["hyper-proxy/tls", "native-tls", "tokio-tls", "hyper-tls"]