vk-bot-api 1.0.0

Asynchronous VK Bot API library for Rust
Documentation
# 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 = "vk-bot-api"
version = "1.0.0"
authors = ["Ivan Kirillov <sterletivakiril@gmail.com>"]
build = false
exclude = [
    "**/.gitignore",
    "**/.github",
    "**/.vscode",
    "examples/*/target",
    "target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Asynchronous VK Bot API library for Rust"
readme = "README.md"
keywords = [
    "vk",
    "bot",
    "api",
    "async",
    "messaging",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/SS1GGzxc/vk-bot-api"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.github-actions]
repository = "SS1GGzxc/vk-bot-api"
workflow = "CI"

[badges.maintenance]
status = "actively-developed"

[features]
api = [
    "reqwest",
    "serde",
    "json",
    "uuid",
    "chrono",
    "thiserror",
]
bot = [
    "api",
    "handler",
    "models",
    "tokio",
    "futures",
]
chrono = ["dep:chrono"]
default = ["full"]
error = ["thiserror"]
full = [
    "api",
    "bot",
    "models",
    "keyboard",
    "handler",
    "error",
    "utils",
    "tokio",
    "reqwest",
    "serde",
    "json",
    "logging",
    "chrono",
    "uuid",
]
handler = [
    "api",
    "models",
    "keyboard",
    "async-trait",
]
json = ["dep:serde_json"]
keyboard = [
    "serde",
    "json",
]
logging = [
    "log",
    "tracing",
]
models = [
    "serde",
    "json",
    "chrono",
]
reqwest = ["dep:reqwest"]
serde = [
    "dep:serde",
    "dep:serde_json",
]
tokio = ["dep:tokio"]
utils = [
    "chrono",
    "uuid",
]
uuid = ["dep:uuid"]

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

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

[dependencies.bytes]
version = "1.0"

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

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "form",
]
optional = true

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"
optional = true

[dependencies.tokio]
version = "1.49"
features = [
    "full",
    "time",
    "sync",
]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]
optional = true

[dev-dependencies.dotenv]
version = "0.15"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.reqwest]
version = "0.13"
features = ["json"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0