From fa84a1825b79f4646c4515dd0815177174f857c4 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Thu, 25 Feb 2021 18:24:03 +0100 Subject: [PATCH] depend on rustc version 1.50.0 --- .appveyor.yml | 4 ++-- .gitlab-ci.yml | 12 ++++++------ README.md | 3 ++- RELEASES.md | 1 + src/lib.rs | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 76df3d6..bde6eef 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -22,7 +22,7 @@ install: - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y --default-host %TARGET% --default-toolchain none --no-modify-path - rustup --version - - rustup toolchain install --profile minimal beta-%TARGET% 1.47.0-%TARGET% + - rustup toolchain install --profile minimal beta-%TARGET% 1.50.0-%TARGET% - rustup component add --toolchain beta-%TARGET% clippy build: false @@ -34,7 +34,7 @@ before_test: test_script: - cargo +beta-%TARGET% clippy --all-targets --features "fail-on-warnings az f16 num-traits serde std" - cargo +beta-%TARGET% test --release --features "fail-on-warnings az f16 num-traits serde std" - - cargo +1.47.0-%TARGET% test --lib --features "fail-on-warnings az f16 num-traits serde std" + - cargo +1.50.0-%TARGET% test --lib --features "fail-on-warnings az f16 num-traits serde std" after_test: - bash -c "if [ -d $USERPROFILE/.cargo/registry/cache ]; then cd $USERPROFILE/.cargo/registry; for c in cache/*/*.crate; do s=src/${c#cache/}; if [ ! -e ${s/.crate/} ]; then rm -v $c; fi; done; find cache -name \*.crate | sort; fi" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 143eaa7..58fcb1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,11 +28,11 @@ x86_64-gnulinux: paths: - cargo/ script: - - rustup toolchain install --profile minimal beta-$TARGET 1.47.0-$TARGET + - rustup toolchain install --profile minimal beta-$TARGET 1.50.0-$TARGET - cargo +beta-$TARGET test --features "fail-on-warnings az f16 num-traits serde std" - cargo +beta-$TARGET test --release --features "fail-on-warnings az f16 num-traits serde std" - - cargo +1.47.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std" - - cargo +1.47.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std" + - cargo +1.50.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std" + - cargo +1.50.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std" i686-gnulinux: image: i386/rust:1 @@ -43,11 +43,11 @@ i686-gnulinux: paths: - cargo/ script: - - rustup toolchain install --profile minimal beta-$TARGET 1.47.0-$TARGET + - rustup toolchain install --profile minimal beta-$TARGET 1.50.0-$TARGET - cargo +beta-$TARGET test --features "fail-on-warnings az f16 num-traits serde std" - cargo +beta-$TARGET test --release --features "fail-on-warnings az f16 num-traits serde std" - - cargo +1.47.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std" - - cargo +1.47.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std" + - cargo +1.50.0-$TARGET test --lib --features "fail-on-warnings az f16 num-traits serde std" + - cargo +1.50.0-$TARGET test --release --lib --features "fail-on-warnings az f16 num-traits serde std" x86_64-gnulinux-tidy: image: amd64/rust:1 diff --git a/README.md b/README.md index 80b29ad..ed0a999 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ The conversions supported cover the following cases. ### Version 1.7.0 news (unreleased) + * The crate now requires rustc version 1.50.0 or later. * The following methods were added to all fixed-point numbers, to the [`Fixed`][tf-1-7] trait, and to the [`Wrapping`][w-1-7] and [`Unwrapped`][u-1-7] wrappers: @@ -237,7 +238,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]: fixed = "1.6" ``` -The *fixed* crate requires rustc version 1.47.0 or later. +The *fixed* crate requires rustc version 1.50.0 or later. ## Optional features diff --git a/RELEASES.md b/RELEASES.md index 6032e4a..5003c86 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,6 +8,7 @@ as-is, without any warranty. --> Version 1.7.0 (unreleased) ========================== + * The crate now requires rustc version 1.50.0 or later. * The following methods were added to all fixed-point numbers, to the [`Fixed`][tf-1-7] trait, and to the [`Wrapping`][w-1-7] and [`Unwrapped`][u-1-7] wrappers: diff --git a/src/lib.rs b/src/lib.rs index 9a3f2e9..87b9854 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -167,7 +167,7 @@ it in your crate, add it as a dependency inside [*Cargo.toml*]: fixed = "1.6" ``` -The *fixed* crate requires rustc version 1.47.0 or later. +The *fixed* crate requires rustc version 1.50.0 or later. ## Optional features