diff options
author | Alan Somers <asomers@gmail.com> | 2019-07-02 13:39:25 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2019-07-13 15:05:08 -0600 |
commit | c156af5a90e89291d4c540610549c3132d884661 (patch) | |
tree | 9c4d25b5b9888f1d8993f979a5d0ed5a06270335 /README.md | |
parent | 5e463aa51f0e644d54c21f0db2effa4b757f982a (diff) | |
download | nix-c156af5a90e89291d4c540610549c3132d884661.zip |
Fix warnings on Rust 1.37.0
* Replace obsolete range syntax "..." with inclusive range "..="
* Use dyn Trait syntax instead of Box<Trait>
* Raise MSRV to 1.27.0 (for dyn Trait syntax)
* Raise MSRV to 1.31.0 (because of rand)
tempfile pulls in rand, and rand pulls in fuchsia-cprng, which requires
1.31.0. Why rand pulls in fuchsia-cprng I don't know. It's specified
as a target-specific dependency, but Cargo tries to build it anyway
(only on Linux, not on FreeBSD or OSX). A bug in Cargo 1.27.0?
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ Tier 2: ## Usage -`nix` requires Rust 1.25.0 or newer. +`nix` requires Rust 1.31.0 or newer. To use `nix`, first add this to your `Cargo.toml`: |