| Crates.io | titanium-rs |
| lib.rs | titanium-rs |
| version | 0.1.6 |
| created_at | 2025-12-11 14:59:59.201285+00 |
| updated_at | 2025-12-12 20:33:05.555279+00 |
| description | The ultimate high-performance Discord API framework for Rust |
| homepage | |
| repository | https://github.com/Sh4dowNotFound/titanium-rs |
| max_upload_size | |
| id | 1979883 |
| size | 141,102 |
Titanium-rs is a high-performance, concurrent Discord library for Rust, designed for massive scale.
Full documentation is available at: https://sh4downotfound.github.io/titanium-rs/
simd-json when enabled).mimalloc support for high throughput.DashMap.Add this to your Cargo.toml:
[dependencies]
titanium-rs = "0.1"
Then in your code:
use titanium_rs::prelude::*;
## Examples
Check out the `examples/` directory for full working bots:
- **[Basic Bot](https://github.com/Sh4dowNotFound/titanium-rs/blob/main/titanium/examples/basic_bot.rs)**: Simple ping-pong bot demonstrating event handling.
- **[Slash Commands](https://github.com/Sh4dowNotFound/titanium-rs/blob/main/titanium/examples/slash_commands.rs)**: Handling Application Commands (interactions).
- **[Voice Receive](https://github.com/Sh4dowNotFound/titanium-rs/blob/main/titanium/examples/voice_receive.rs)**: connecting to voice channels (skeleton).
To run an example:
```bash
cargo run --example basic_bot
To enable high-performance memory allocation:
[dependencies]
titanium-rs = { version = "0.1", features = ["performance"] }
This project adheres to strict safety standards:
#![deny(unsafe_code)] is enforced globally.AGPL-3.0-or-later