Skip to content

Commit

Permalink
Add cargo info to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Dec 18, 2014
1 parent b2fe945 commit 2bd1297
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
MIO is a lightweight IO library for Rust with a focus on adding as
little overhead as possible over the OS abstractions.

## Usage

To use `mio`, first add this to your `Cargo.toml`:

```toml
[dependencies.mio]
git = "https://github.com/carllerche/mio"
```

`mio` is on [Crates.io](http://crates.io/crates/mio), but is not often updated.

Then, add this to your crate root:

```rust
extern crate mio;
```

## Features

* Event loop backed by epoll, kqueue.
Expand Down

0 comments on commit 2bd1297

Please sign in to comment.