maxoxide 1.0.0

Async Rust library for the Max messenger Bot API
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 = "maxoxide"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust library for the Max messenger Bot API"
readme = "README.md"
keywords = [
    "max",
    "messenger",
    "bot",
    "api",
    "async",
]
license = "MIT"
repository = "https://github.com/mammothcoding/maxoxide"

[features]
default = []
webhook = [
    "dep:axum",
    "dep:tower",
    "dep:http-body-util",
    "dep:bytes",
]

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

[[example]]
name = "echo_bot"
path = "examples/echo_bot.rs"

[[example]]
name = "keyboard_bot"
path = "examples/keyboard_bot.rs"

[[example]]
name = "live_api_test"
path = "examples/live_api_test.rs"

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

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

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

[dependencies.bytes]
version = "1"
optional = true

[dependencies.http-body-util]
version = "0.1"
optional = true

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tower]
version = "0.5"
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"