[−][src]Crate irc3
IRC3 for Rust
The Rust IRC3 crate. Fast, async IRC for the humans. The IRC3 is designed to be an alternative to the IRC crate that's low level and optimized.
DISCLAIMER
As of 0.2.0
of the irc3
crate, features documented
may not be available.
Examples
ⓘThis example is not tested
extern crate irc3; extern crate tokio; use irc3::{Client, Message}; #[tokio::main] async fn main() { let mut client = Client::new("localhost").await.unwrap(); client.send(Message::new("NICK").with_param("frostu8")).await.unwrap(); client.flush(); // prints the server's welcome message client.next().await.unwrap().params().last(); }
Re-exports
pub use proto::message::Message; |
pub use client::Client; |
Modules
client | |
proto |