Skip to main content
Fluxer.RUST is an async Rust library for working with the Fluxer API. Covers REST API, WebSocket Gateway, entity cache, and utility helpers.

Workspace structure

The library is organized as a Cargo workspace. Each crate has a dedicated responsibility:
CratePurpose
fluxer_coreClient, cache, structures, collectors
fluxer_restHTTP client, rate limiter
fluxer_wsWebSocket, sharding
fluxer_typesAPI types, Gateway payloads, routes
fluxer_buildersMessage and embed builders
fluxer_utilPermissions, Snowflake, CDN, formatting

Dependencies

CrateVersionUsage
tokio1Async runtime (rt-multi-thread, sync, time)
reqwest0.12HTTP client for REST API
tokio-tungstenite0.24WebSocket connection
serde / serde_json1Serialization / deserialization
dashmap6Thread-safe HashMap for cache
bitflags2Permission bitfields
thiserror2Typed errors
tracing0.1Logging

Requirements

  • Rust edition 2024
  • tokio runtime - 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.