parco-discord

Crates.ioparco-discord
lib.rsparco-discord
version0.1.0
created_at2026-01-06 19:20:44.154857+00
updated_at2026-01-06 19:20:44.154857+00
descriptionParco Discord
homepagehttps://github.com/williamcparks/parco-discord
repositoryhttps://github.com/williamcparks/parco-discord
max_upload_size
id2026575
size54,511
(williamcparks)

documentation

README

Discord (Rust)

A small, async Rust client for the Discord API, built on top of reqwest with a type-safe builder API.

Usage

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;
Commit count: 1

cargo fmt