docs.rs failed to build hackchat-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
hackchat-0.1.4
#rust-hackchat A client library for Hack.chat.
This library allows you to make custom clients and bots for Hack.chat using Rust.
#Examples
extern crate hackchat;
use hackchat::{ChatClient, ChatEvent};
fn main() {
let mut conn = ChatClient::new("TestBot", "botDev"); //Connects to the ?botDev channel
conn.start_ping_thread(); //Sends ping packets regularly
for event in conn.iter() {
match event {
ChatEvent::Message(nick, message, trip_code) => {
println!("<{}> {}", nick, message);
},
_ => {}
}
}
}