twilight-rs
A modular ecosystem of Rust libraries for the Discord API. 834 stars.
Twilight is a modular ecosystem of Rust libraries for building Discord applications. It provides data models, a WebSocket gateway client, a REST API client, in-memory caching, and event handling — each as a separate crate that can be used independently.
The project emphasizes modularity: developers choose exactly which components they need without pulling in an entire framework. All first-party crates are ISC-licensed.
I was a core maintainer of the project.