summaryrefslogtreecommitdiff
path: root/README.md
blob: da81ed19ce8a7003d27dcbb0e418751157e4b54f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Rust bindings to *nix APIs

Rust friendly bindings to various *nix platform APIs (Linux, Darwin,
...). The goal is to not provide a 100% unified interface, but to unify
what can be while still providing platform specific APIs.

[![Build Status](https://travis-ci.org/nix-rust/nix.svg?branch=master)](https://travis-ci.org/nix-rust/nix)
[![crates.io](http://meritbadge.herokuapp.com/nix)](https://crates.io/crates/nix)

## Documentation

API documentation generated by rustdoc:

- Linux: [master](http://rustdoc.s3-website-us-east-1.amazonaws.com/nix/master/linux/nix/)
- OS X: [master](http://rustdoc.s3-website-us-east-1.amazonaws.com/nix/master/osx/nix/)

## Usage

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

```toml
[dependencies]
nix = "*"
```

Then, add this to your crate root:

```rust
extern crate nix;
```

## Contributing

See [CONTRIBUTING](CONTRIBUTING.md).