# 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 = "vkteams-bot" version = "0.6.5" authors = ["Andrei G. "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "VK Teams Bot API client" readme = "README.md" keywords = [ "vk", "teams", "bot", "api", "client", ] categories = [ "asynchronous", "api-bindings", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/bug-ops/vkteams-bot/tree/master" [lib] name = "vkteams_bot" path = "src/lib.rs" [[example]] name = "callback_query" path = "examples/callback_query.rs" [[example]] name = "chat_admin_avatar_set" path = "examples/chat_admin_avatar_set.rs" [[example]] name = "chat_get_file" path = "examples/chat_get_file.rs" [[example]] name = "chat_get_info" path = "examples/chat_get_info.rs" [[example]] name = "emul_chat_gpt" path = "examples/emul_chat_gpt.rs" [[example]] name = "event_listener" path = "examples/event_listener.rs" [[example]] name = "new_message" path = "examples/new_message.rs" [[example]] name = "prometheus_webhook" path = "examples/prometheus_webhook.rs" [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" optional = true [dependencies.axum] version = "0.7" features = [ "macros", "http2", ] optional = true [dependencies.lazy_static] version = "1.5" optional = true [dependencies.log] version = "0.4" [dependencies.reqwest] version = "0.12" features = [ "json", "stream", "multipart", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_url_params] version = "0.2" [dependencies.tera] version = "1" optional = true default-features = false [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.tonic-health] version = "0.12" optional = true [dependencies.tower-http] version = "0.6" features = [ "timeout", "trace", "limit", "cors", ] optional = true [dev-dependencies.dotenvy] version = "0.15" [dev-dependencies.pretty_env_logger] version = "0.5" [dev-dependencies.tonic] version = "0.12" [features] default = ["longpoll"] full = [ "webhook", "longpoll", "templates", "grpc", ] grpc = ["dep:tonic-health"] longpoll = [] templates = [ "dep:tera", "dep:lazy_static", ] webhook = [ "dep:axum", "dep:tower-http", "dep:async-trait", ]