Skip to content

Commit

Permalink
Auto merge of #522 - Susurrus:readme, r=kamalmarhubi
Browse files Browse the repository at this point in the history
Specify Rust minimum version requirements

I think this is important for 2 reasons:

1) Users know if they can use this library
2) Developers know what Rust features they can use in merge requests

What this doesn't do is establish any kind of policy for raising the Rust requirements, which is something  worth addressing in the near-future.
  • Loading branch information
homu committed Feb 24, 2017
2 parents 2bb718c + 56a56dd commit c3905ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ pub unsafe extern fn gethostname(name: *mut c_char, len: size_t) -> c_int;
pub fn gethostname(name: &mut [u8]) -> Result<()>;
```

## Requirements
Rust >= 1.7.0

## Usage

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

0 comments on commit c3905ee

Please sign in to comment.