Updated README.md.

This commit is contained in:
Aaron Weiss 2015-01-13 02:57:40 -05:00
parent c9a767c8ff
commit 6191e53350

View file

@ -1,21 +1,23 @@
# irc [![Build Status](https://travis-ci.org/aatxe/irc.svg?branch=master)](https://travis-ci.org/aatxe/irc) # # irc [![Build Status](https://travis-ci.org/aatxe/irc.svg?branch=master)](https://travis-ci.org/aatxe/irc) #
A thread-safe IRC library in Rust based on iterators. It's hopefully compliant with A thread-safe IRC library in Rust. The client portion is compliant with
[RFC 2812](http://tools.ietf.org/html/rfc2812). You can find up-to-date, ready-to-use documentation [RFC 2812](http://tools.ietf.org/html/rfc2812) and includes some additional, common features. The
online [here](http://www.rust-ci.org/aatxe/irc/doc/irc/). The documentation is generated server portion is still a work in progress. You can find up-to-date, ready-to-use documentation
with the default features. These are, however, strictly optional and can be disabled by the online [here](http://www.rust-ci.org/aatxe/irc/doc/irc/). The documentation is generated with the
end-user. default features. These are, however, strictly optional and can be disabled accordingly.
## Getting Started ## ## Getting Started ##
To start using this library with cargo, you can simply add `irc = "*"` to your dependencies to your To start using this library with cargo, you can simply add `irc = "*"` to your dependencies to your
Cargo.toml file. From there, you can look to the examples and the documentation to see how to Cargo.toml file. You'll likely want to take a look at some of the examples, as well as the
proceed. Making a simple bot is easy though: documentation. You'll also be able to find a small template to get a feel for the library.
## Getting Started with Bots ##
```rust ```rust
extern crate irc; extern crate irc;
use irc::server::{IrcServer, Server}; use irc::client::server::{IrcServer, Server};
use irc::server::utils::Wrapper; use irc::client::server::utils::Wrapper;
fn main() { fn main() {
let irc_server = IrcServer::new("config.json").unwrap(); let irc_server = IrcServer::new("config.json").unwrap();