Skip to content
Myr

Bump minimum required Rust version

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by David Peter · parent 4b5efa3 · Browse files · 3 files+8 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+8 added−8 removed

  • other:+8 added−8 removed

3 files+8 added−8 removed

modified:.travis.yml+5 added-5 removed
modified:build.rs+2 added-2 removed
16 unmodified lines
1718include!("src/app.rs");1920fn main() {21 match version_check::is_min_version("1.29") {21 match version_check::is_min_version("1.31") {22 Some((true, _)) => {}23 // rustc version too small or can't figure it out24 _ => {25 writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.29").unwrap();25 writeln!(&mut io::stderr(), "'fd' requires rustc >= 1.31").unwrap();26 exit(1);27 }28 }29
13 unmodified lines
modified:README.md+1 added-1 removed
228 unmodified lines
229With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:230```231cargo install fd-find232```233Note that rust version *1.29.0* or later is required.233Note that rust version *1.31.0* or later is required.234235### From binaries236237The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.
216 unmodified lines