Skip to content
Myr

Bump minimum rust version to 1.20

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

authored by sharkdp · committed by sharkdp · parent aaf9e02 · Browse files · 3 files+10 added−10 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+10 added−10 removed

  • other:+10 added−10 removed

3 files+10 added−10 removed

modified:.travis.yml+5 added-5 removed
modified:build.rs+4 added-4 removed
16 unmodified lines
1718include!("src/app.rs");1920fn main() {21 match version_check::is_min_version("1.19") {22 // rustc >= 1.1921 match version_check::is_min_version("1.20") {22 // rustc >= 1.2023 Some((true, _)) => {}24 // rustc < 1.19 or can't figure it out24 // rustc < 1.20 or can't figure it out25 _ => {26 writeln!(&mut io::stderr(), "This crate requires rustc >= 1.19").unwrap();26 writeln!(&mut io::stderr(), "This crate requires rustc >= 1.20").unwrap();27 exit(1);28 }29 }30
13 unmodified lines
modified:README.md+1 added-1 removed
129 unmodified lines
130With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:131```132cargo install fd-find133```134Note that rust version *1.19.0* or later is required.134Note that rust version *1.20.0* or later is required.135136### From binaries137138The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.
187 unmodified lines