Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

carlosdp/rust-irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-irc

rust-irc is an IRC client/server Rust crate.

Example

extern crate irc;

use irc::server;

fn main() {
  let server = IRCServer::new("127.0.0.1", 6697)

  // Define closure that prints nicknames that join the server
  let print_join = |nickname| { println!("Joined: ", nickname) }

  // Give the server our closure so it will call it on join
  server.on_join(print_join)

  // Start the server
  server.start()
}

About

Rust IRC Client/Server library (Work in Progress)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages