diff --git a/.github/workflows/master.yaml b/.github/workflows/main.yaml similarity index 95% rename from .github/workflows/master.yaml rename to .github/workflows/main.yaml index f6487bf..0ce4f57 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/main.yaml @@ -1,8 +1,8 @@ -name: master +name: main on: push: branches: - - master + - main schedule: - cron: '0 0 * * 0' # 00:00 Sunday diff --git a/Cargo.toml b/Cargo.toml index 4396dc8..fad6e54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ categories = ["algorithms", "science", "no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-num/num-iter" name = "num-iter" -version = "0.1.45" +version = "0.1.46" readme = "README.md" exclude = ["/ci/*", "/.github/*"] edition = "2018" diff --git a/README.md b/README.md index 737a622..90d6895 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![crate](https://img.shields.io/crates/v/num-iter.svg)](https://crates.io/crates/num-iter) [![documentation](https://docs.rs/num-iter/badge.svg)](https://docs.rs/num-iter) [![minimum rustc 1.31](https://img.shields.io/badge/rustc-1.31+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) -[![build status](https://github.com/rust-num/num-iter/workflows/master/badge.svg)](https://github.com/rust-num/num-iter/actions) +[![build status](https://github.com/rust-num/num-iter/actions/workflows/main.yaml/badge.svg)](https://github.com/rust-num/num-iter/actions/workflows/main.yaml) Generic `Range` iterators for Rust. diff --git a/RELEASES.md b/RELEASES.md index abbd156..fe47daf 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,11 @@ +# Release 0.1.46 (2026-07-07) + +- [Drop unused `autocfg` build dependency][30] + +**Contributors**: @cuviper, @paolobarbolini + +[30]: https://github.com/rust-num/num-iter/pull/30 + # Release 0.1.45 (2024-05-03) - [Use `Integer::dec` in `DoubleEndedIterator`][29] diff --git a/ci/test_full.sh b/ci/test_full.sh index b844a8f..ecee098 100755 --- a/ci/test_full.sh +++ b/ci/test_full.sh @@ -21,6 +21,14 @@ check_version() { ]] } +export CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback +generate_lockfile() { + cargo generate-lockfile + if ! check_version 1.85 ; then + cargo +stable update + fi +} + echo "Testing $CRATE on rustc $RUST_VERSION" if ! check_version $MSRV ; then echo "The minimum for $CRATE is rustc $MSRV" @@ -30,11 +38,7 @@ fi FEATURES=() echo "Testing supported features: ${FEATURES[*]}" -cargo generate-lockfile - -# num-traits 0.2.19 started using dep: features, which requires 1.60 and is -# otherwise ignored down to 1.51, but we need a manual downgrade before that. -check_version 1.51 || cargo update -p num-traits --precise 0.2.18 +generate_lockfile set -x