summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2017-02-25 04:27:53 +0900
committerHomu <homu@barosl.com>2017-02-25 04:27:53 +0900
commitc3905eeb00da163d00f470782b97cad882238f8e (patch)
tree331dacfdca0d261ab58a6d3d793742e33e9d0122
parent2bb718c5afc0f1608cef2e8706dd6cb237bfce20 (diff)
parent56a56dda61907952ccda3f5886c73c4a27db45a4 (diff)
downloadnix-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.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2a3dd24c..c35ca280 100644
--- a/README.md
+++ b/README.md
@@ -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`: