# 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 = "2024"
name = "botrs"
version = "0.8.0"
authors = ["YinMo19"]
build = false
exclude = [
    ".github/",
    "docs/.vitepress/",
    "package.json",
    "pnpm-lock.yaml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust QQ Bot framework based on QQ Guild Bot API"
documentation = "https://docs.rs/botrs"
readme = "README.md"
keywords = [
    "qq",
    "bot",
    "guild",
    "api",
    "async",
]
categories = [
    "api-bindings",
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/YinMo19/botrs"

[features]
default = []
examples = [
    "clap",
    "toml",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.21"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.0"
features = ["derive"]
optional = true

[dependencies.ed25519-dalek]
version = "2"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.reqwest]
version = "0.12.22"
features = [
    "charset",
    "http2",
    "json",
    "stream",
    "system-proxy",
    "rustls-tls-webpki-roots",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.20"
features = ["rustls-tls-webpki-roots"]

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.4"

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

[dev-dependencies.tempfile]
version = "3.0"

[dev-dependencies.tokio-test]
version = "0.4"
