Fluxer.RUST is an async Rust library for working with the Fluxer API. Covers REST API, WebSocket Gateway, entity cache, and utility helpers.Documentation Index
Fetch the complete documentation index at: https://docs.devimorris.tech/llms.txt
Use this file to discover all available pages before exploring further.
Workspace structure
The library is organized as a Cargo workspace. Each crate has a dedicated responsibility:| Crate | Purpose |
|---|---|
fluxer_core | Client, cache, structures, collectors |
fluxer_rest | HTTP client, rate limiter |
fluxer_ws | WebSocket, sharding |
fluxer_types | API types, Gateway payloads, routes |
fluxer_builders | Message and embed builders |
fluxer_util | Permissions, Snowflake, CDN, formatting |
Dependencies
| Crate | Version | Usage |
|---|---|---|
tokio | 1 | Async runtime (rt-multi-thread, sync, time) |
reqwest | 0.12 | HTTP client for REST API |
tokio-tungstenite | 0.24 | WebSocket connection |
serde / serde_json | 1 | Serialization / deserialization |
dashmap | 6 | Thread-safe HashMap for cache |
bitflags | 2 | Permission bitfields |
thiserror | 2 | Typed errors |
tracing | 0.1 | Logging |
Requirements
- Rust edition 2024
tokioruntime - the library is fully async, all logic runs inside#[tokio::main]
Fluxer does not support Discord-style intents. Always set
intents: 0 when creating ClientOptions.Quickstart
Minimal working bot in 5 minutes.
Client
Initialization, event handling, login.
Structures
Guild, Channel, Message, User - fields and methods.
Builders
MessagePayload, EmbedBuilder, FileAttachment.
