Skip to content

Commit c3905ee

Browse files
committed
Auto merge of #522 - Susurrus:readme, r=kamalmarhubi
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.
2 parents 2bb718c + 56a56dd commit c3905ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pub unsafe extern fn gethostname(name: *mut c_char, len: size_t) -> c_int;
3030
pub fn gethostname(name: &mut [u8]) -> Result<()>;
3131
```
3232

33+
## Requirements
34+
Rust >= 1.7.0
35+
3336
## Usage
3437

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

0 commit comments

Comments
 (0)