# 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 = "maxbot"
version = "2.0.0"
authors = ["Константин Иванович <konstantin_1987@mail.ru>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Автоматизация работы с чат-ботами на платформе MAX (max.ru)"
homepage = "https://crates.io/crates/maxbot"
documentation = "https://docs.rs/maxbot"
readme = "README.md"
keywords = [
    "max",
    "bot",
    "api",
    "messenger",
    "chatbot",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://gitflic.ru/project/perdumonocle/maxbot"

[features]
default = []
webhook = [
    "dep:actix-web",
    "dep:actix-rt",
]

[lib]
name = "maxbot"
path = "src/lib.rs"

[[example]]
name = "add-chat-admin-demo"
path = "examples/add-chat-admin-demo.rs"

[[example]]
name = "ask-phone-bot"
path = "examples/ask-phone-bot.rs"

[[example]]
name = "check-bot"
path = "examples/check-bot.rs"

[[example]]
name = "combined-attachments-demo"
path = "examples/combined-attachments-demo.rs"

[[example]]
name = "delete-chat-demo"
path = "examples/delete-chat-demo.rs"

[[example]]
name = "delete-messages-demo"
path = "examples/delete-messages-demo.rs"

[[example]]
name = "dispatcher-task"
path = "examples/dispatcher-task.rs"

[[example]]
name = "echo-bot"
path = "examples/echo-bot.rs"

[[example]]
name = "edit-message-demo"
path = "examples/edit-message-demo.rs"

[[example]]
name = "forward-demo"
path = "examples/forward-demo.rs"

[[example]]
name = "fruits-bot"
path = "examples/fruits-bot.rs"

[[example]]
name = "full-demo"
path = "examples/full-demo.rs"

[[example]]
name = "get-bot-member-demo"
path = "examples/get-bot-member-demo.rs"

[[example]]
name = "get-chat-admins-demo"
path = "examples/get-chat-admins-demo.rs"

[[example]]
name = "get-chat-demo"
path = "examples/get-chat-demo.rs"

[[example]]
name = "get-chat-members-demo"
path = "examples/get-chat-members-demo.rs"

[[example]]
name = "get-messages-demo"
path = "examples/get-messages-demo.rs"

[[example]]
name = "get-video-info-demo"
path = "examples/get-video-info-demo.rs"

[[example]]
name = "leave-chat-demo"
path = "examples/leave-chat-demo.rs"

[[example]]
name = "me-demo"
path = "examples/me-demo.rs"

[[example]]
name = "pin-message-demo"
path = "examples/pin-message-demo.rs"

[[example]]
name = "remove-chat-admin-demo"
path = "examples/remove-chat-admin-demo.rs"

[[example]]
name = "send-audio-demo"
path = "examples/send-audio-demo.rs"

[[example]]
name = "send-chat-actions-demo"
path = "examples/send-chat-actions-demo.rs"

[[example]]
name = "send-contact-demo"
path = "examples/send-contact-demo.rs"

[[example]]
name = "send-file-any-demo"
path = "examples/send-file-any-demo.rs"

[[example]]
name = "send-inline-keyboard-demo"
path = "examples/send-inline-keyboard-demo.rs"

[[example]]
name = "send-long-text-demo"
path = "examples/send-long-text-demo.rs"

[[example]]
name = "send-picture-demo"
path = "examples/send-picture-demo.rs"

[[example]]
name = "send-picture-only-demo"
path = "examples/send-picture-only-demo.rs"

[[example]]
name = "send-text-demo"
path = "examples/send-text-demo.rs"

[[example]]
name = "send-video-demo"
path = "examples/send-video-demo.rs"

[[example]]
name = "simple-methods-demo"
path = "examples/simple-methods-demo.rs"

[[example]]
name = "stress-test"
path = "examples/stress-test.rs"

[[example]]
name = "subscription-chat-collector"
path = "examples/subscription-chat-collector.rs"

[[example]]
name = "update-chat-demo"
path = "examples/update-chat-demo.rs"

[[example]]
name = "upload-file-demo"
path = "examples/upload-file-demo.rs"

[[example]]
name = "video-info-bot"
path = "examples/video-info-bot.rs"

[[example]]
name = "webhook-bot"
path = "examples/webhook-bot.rs"
required-features = ["webhook"]

[dependencies.actix-rt]
version = "2"
optional = true

[dependencies.actix-web]
version = "4"
optional = true

[dependencies.chrono]
version = "0.4"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.13"

[dependencies.log]
version = "0.4"

[dependencies.mime]
version = "0.3"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "multipart",
    "stream",
]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "full",
    "io-util",
]

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1"
features = ["v4"]
