| Crates.io | parco-discord |
| lib.rs | parco-discord |
| version | 0.1.0 |
| created_at | 2026-01-06 19:20:44.154857+00 |
| updated_at | 2026-01-06 19:20:44.154857+00 |
| description | Parco Discord |
| homepage | https://github.com/williamcparks/parco-discord |
| repository | https://github.com/williamcparks/parco-discord |
| max_upload_size | |
| id | 2026575 |
| size | 54,511 |
A small, async Rust client for the Discord API, built on top of reqwest with a type-safe builder API.
use parco_discord::{Color, DiscordClient, Embed};
let client = reqwest::Client::new();
let client = DiscordClient::new(client);
client
.message()
.url("my webhook url")
.embed(
Embed::builder()
.title("Hello From Rust")
.description("My Descr")
.color(Color::Blue)
.field("Poll Time", "2025-01-01")
.build(),
)
.build()
.send()
.await;