# 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.74.0" name = "telegram_bots_api" version = "0.75.0" authors = ["Marat Khusnetdinov "] description = "Telegram bots api simple rust wrapper, and no more." homepage = "https://github.com/khusnetdinov/telegram_bots_api" documentation = "https://docs.rs/telegram_bots_api" readme = "README.md" keywords = [ "telegram", "bots", "api", ] license = "MIT" repository = "https://github.com/khusnetdinov/telegram_bots_api" [package.metadata] talegram-version = "7.5" [[example]] name = "async-playground" path = "examples/async/playground.rs" required-features = ["async"] [[example]] name = "async-get-me" path = "examples/async/get_me.rs" required-features = ["async"] [[example]] name = "sync-playground" path = "examples/sync/playground.rs" required-features = ["sync"] [[example]] name = "sync-get-me" path = "examples/sync/get_me.rs" required-features = ["sync"] [dependencies.async-trait] version = "0.1.77" optional = true [dependencies.cargo-minimal-versions] version = "0.1.25" optional = true [dependencies.libgit2-sys] version = "^0.16.2" optional = true [dependencies.mio] version = "0.8.11" [dependencies.mockito] version = "1.2.0" [dependencies.openssl] version = "0.10.55" optional = true [dependencies.reqwest] version = "0.11" features = [ "json", "blocking", ] [dependencies.serde] version = "1.0.195" features = ["derive"] [dependencies.serde_json] version = "1.0.111" [dependencies.serde_qs] version = "0.12.0" [dependencies.serde_with_macros] version = "3.6.0" [dependencies.structopt] version = "0.3.26" [dependencies.tokio] version = "1" features = ["full"] optional = true [features] all = [ "async", "sync", ] async = [ "dep:async-trait", "dep:tokio", ] default = ["async"] nightly = [] sync = []