[−][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
extern crate irc3; extern crate tokio; use irc3::{Client, Message}; #[tokio::main] async fn main() { let mut client = Client::new("localhost").await.unwrap(); client.write_message(Message::new("NICK").with_param("frostu8")).await.unwrap(); // print the welcome message returned by the server println!("{}", client.read_message().params().last().unwrap()); }
Re-exports
pub use proto::message::Message; |
pub use client::Client; |
Modules
client | |
proto |