composure 0.2.4

Discord bots over HTTP Interactions, no gateway: slash commands, components, modals and JSX-like views, on Cloudflare Workers (WASM) or any server
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"
rust-version = "1.88"
name = "composure"
version = "0.2.4"
build = false
exclude = ["spec"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Discord bots over HTTP Interactions, no gateway: slash commands, components, modals and JSX-like views, on Cloudflare Workers (WASM) or any server"
homepage = "https://github.com/BlueFrog130/composure-rs"
readme = "README.md"
keywords = [
    "discord",
    "bot",
    "interactions",
    "serverless",
    "wasm",
]
categories = [
    "api-bindings",
    "web-programming::http-server",
    "wasm",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/BlueFrog130/composure-rs"

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

[features]
full = [
    "tier1",
    "rest-bans",
    "rest-threads",
    "rest-invites",
    "rest-emojis",
    "rest-stickers",
    "rest-scheduled-events",
    "rest-automod",
    "rest-audit-log",
    "rest-webhooks",
    "rest-monetization",
    "rest-polls",
    "rest-soundboard",
    "rest-application",
    "rest-role-connections",
    "rest-onboarding",
    "rest-stage-instances",
    "rest-lobbies",
]
macros = ["dep:composure_macros"]
reqwest = [
    "rest",
    "dep:reqwest",
]
rest = []
rest-application = ["rest"]
rest-audit-log = ["rest"]
rest-automod = ["rest"]
rest-bans = ["rest"]
rest-channels = ["rest"]
rest-commands = ["rest"]
rest-emojis = ["rest"]
rest-guilds = ["rest"]
rest-invites = ["rest"]
rest-lobbies = ["rest"]
rest-members = ["rest"]
rest-messages = ["rest"]
rest-monetization = ["rest"]
rest-onboarding = ["rest"]
rest-polls = ["rest"]
rest-role-connections = ["rest"]
rest-roles = ["rest"]
rest-scheduled-events = ["rest"]
rest-soundboard = ["rest"]
rest-stage-instances = ["rest"]
rest-stickers = ["rest"]
rest-threads = [
    "rest",
    "rest-messages",
]
rest-users = ["rest"]
rest-webhooks = ["rest"]
testing = ["rest"]
tier1 = [
    "rest",
    "rest-commands",
    "rest-messages",
    "rest-users",
    "rest-channels",
    "rest-guilds",
    "rest-members",
    "rest-roles",
]
tracing = ["dep:tracing"]
web-crypto = [
    "dep:js-sys",
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
]

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

[dependencies.bitflags]
version = "2.13.2"

[dependencies.composure_macros]
version = "0.2.1"
optional = true

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

[dependencies.hex]
version = "0.4.3"

[dependencies.reqwest]
version = "0.13.5"
features = ["blocking"]
optional = true

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

[dependencies.serde_json]
version = "1.0.154"
features = ["raw_value"]

[dependencies.serde_repr]
version = "0.1.21"

[dependencies.tracing]
version = "0.1.44"
features = ["std"]
optional = true
default-features = false

[dev-dependencies.futures]
version = "0.3.34"
features = ["executor"]
default-features = false

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.js-sys]
version = "0.3.106"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2.129"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.wasm-bindgen-futures]
version = "0.4.79"
optional = true