Titanium - The ultimate high-performance Discord API framework.
This crate provides a high-level wrapper around the Titanium ecosystem:
titanium-gateway: WebSocket connection managementtitanium-http: REST API clienttitanium-model: Discord data modelstitanium-cache: In-memory cachingtitanium-voice: Voice support
Example
use titanium_rs::prelude::*;
#[tokio::main]
async fn main() {
let client = Client::builder("TOKEN")
.intents(Intents::GUILD_MESSAGES | Intents::MESSAGE_CONTENT)
.build()
.await
.unwrap();
client.start().await.unwrap();
}