diff options
author | Homu <homu@barosl.com> | 2017-02-25 04:27:53 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2017-02-25 04:27:53 +0900 |
commit | c3905eeb00da163d00f470782b97cad882238f8e (patch) | |
tree | 331dacfdca0d261ab58a6d3d793742e33e9d0122 | |
parent | 2bb718c5afc0f1608cef2e8706dd6cb237bfce20 (diff) | |
parent | 56a56dda61907952ccda3f5886c73c4a27db45a4 (diff) | |
download | nix-c3905eeb00da163d00f470782b97cad882238f8e.zip |
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.
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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`: |