refluxer 0.2.0

Rust API wrapper for Fluxer
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.85"
name = "refluxer"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust API wrapper for Fluxer"
readme = "README.md"
keywords = [
    "fluxer",
    "api",
    "bot",
    "gateway",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/vadim-su/reflux"
resolver = "2"

[features]
client = [
    "gateway",
    "dep:async-trait",
]
default = ["http"]
gateway = [
    "http",
    "dep:tokio-tungstenite",
    "dep:tokio",
    "dep:futures-util",
]
http = [
    "dep:reqwest",
    "dep:tokio",
    "dep:urlencoding",
]

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

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

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

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

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

[[test]]
name = "channels"
path = "tests/channels.rs"

[[test]]
name = "errors"
path = "tests/errors.rs"

[[test]]
name = "guilds"
path = "tests/guilds.rs"

[[test]]
name = "invites"
path = "tests/invites.rs"

[[test]]
name = "messages"
path = "tests/messages.rs"

[[test]]
name = "reactions"
path = "tests/reactions.rs"

[[test]]
name = "roles"
path = "tests/roles.rs"

[[test]]
name = "saved_media"
path = "tests/saved_media.rs"

[[test]]
name = "users"
path = "tests/users.rs"

[[test]]
name = "webhooks"
path = "tests/webhooks.rs"

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

[dependencies.bitflags]
version = "2"
features = ["serde"]

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

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "multipart",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_repr]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "sync",
]
optional = true

[dependencies.tokio-tungstenite]
version = "0.26"
features = ["rustls-tls-webpki-roots"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2"
optional = true

[dev-dependencies.anyhow]
version = "1"

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

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

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

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

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

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

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