# 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 = "frankenstein" version = "0.34.1" authors = [ "Ayrat Badykov ", "EdJoPaTo ", "Pepe Márquez ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Telegram bot API client for Rust" readme = "README.md" keywords = [ "request", "http", "client", "bot", "telegram", ] categories = ["web-programming::http-client"] license = "WTFPL" repository = "https://github.com/ayrat555/frankenstein" [package.metadata.docs.rs] all-features = true [lib] name = "frankenstein" path = "src/lib.rs" [[example]] name = "api_trait_implementation" path = "examples/api_trait_implementation.rs" required-features = ["telegram-trait"] [[example]] name = "async_custom_client" path = "examples/async_custom_client.rs" required-features = ["async-http-client"] [[example]] name = "async_file_upload" path = "examples/async_file_upload.rs" required-features = ["async-http-client"] [[example]] name = "async_get_me" path = "examples/async_get_me.rs" required-features = ["async-http-client"] [[example]] name = "async_reply_to_message_updates" path = "examples/async_reply_to_message_updates.rs" required-features = ["async-http-client"] [[example]] name = "custom_client" path = "examples/custom_client.rs" required-features = ["http-client"] [[example]] name = "get_me" path = "examples/get_me.rs" required-features = ["http-client"] [[example]] name = "inline_keyboard" path = "examples/inline_keyboard.rs" required-features = ["http-client"] [[example]] name = "reply_keyboard" path = "examples/reply_keyboard.rs" required-features = ["http-client"] [[example]] name = "reply_to_message_updates" path = "examples/reply_to_message_updates.rs" required-features = ["http-client"] [dependencies.async-trait] version = "0.1" optional = true [dependencies.bon] version = "2.2.0" [dependencies.macro_rules_attribute] version = "0.2.0" [dependencies.mime_guess] version = "2" optional = true [dependencies.multipart] version = "0.18" features = ["client"] optional = true default-features = false [dependencies.paste] version = "1.0.2" [dependencies.reqwest] version = "0.12" features = [ "multipart", "stream", "rustls-tls", ] optional = true default-features = false [dependencies.serde] version = "1.0.157" features = ["derive"] [dependencies.serde_json] version = "1.0.45" optional = true [dependencies.serde_with] version = "3.0.0" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["fs"] optional = true [dependencies.ureq] version = "2" optional = true [dev-dependencies.isahc] version = "1" [dev-dependencies.mockito] version = "1.0" [dev-dependencies.serde_json] version = "1" [dev-dependencies.tokio] version = "1" features = ["full"] [features] async-http-client = [ "async-telegram-trait", "dep:reqwest", "dep:tokio", "dep:serde_json", ] async-telegram-trait = ["dep:async-trait"] default = ["http-client"] http-client = [ "telegram-trait", "dep:ureq", "dep:multipart", "dep:mime_guess", "dep:serde_json", ] telegram-trait = [] [lints.clippy] missing_errors_doc = "allow" option_if_let_else = "allow" struct_excessive_bools = "allow" unreadable_literal = "allow" [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unsafe_code = "forbid"