seabird 0.4.0-alpha.4

A simple client library for the seabird-chat ecosystem
Documentation

seabird-rs

Crates.io docs.rs License

A Rust client library for the seabird-chat ecosystem.

Example

use seabird::{ClientConfig, SeabirdClient};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = ClientConfig {
        url: "https://seabird.example.com".to_string(),
        token: "your-token-here".to_string(),
    };

    let mut client = SeabirdClient::new(config).await?;
    client.send_message("channel-id", "Hello, world!", None).await?;

    Ok(())
}