From b9c8447b4c9bd37bec104861980af5a03ce0d68e Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 7 Jul 2026 11:54:19 -0700 Subject: [PATCH 1/2] Rename master to main --- .github/workflows/{master.yaml => main.yaml} | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{master.yaml => main.yaml} (95%) 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 034e379..d916436 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/README.md b/README.md index 6075cd6..c4607fb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![crate](https://img.shields.io/crates/v/num-complex.svg)](https://crates.io/crates/num-complex) [![documentation](https://docs.rs/num-complex/badge.svg)](https://docs.rs/num-complex) [![minimum rustc 1.60](https://img.shields.io/badge/rustc-1.60+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) -[![build status](https://github.com/rust-num/num-complex/workflows/master/badge.svg)](https://github.com/rust-num/num-complex/actions) +[![build status](https://github.com/rust-num/num-complex/actions/workflows/main.yaml/badge.svg)](https://github.com/rust-num/num-complex/actions/workflows/main.yaml) `Complex` numbers for Rust. From 939e607d809e0104df546bab709c0191be9b17ba Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 7 Jul 2026 12:03:48 -0700 Subject: [PATCH 2/2] ci: use the fallback resolver for deps --- ci/test_full.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ci/test_full.sh b/ci/test_full.sh index 23369ab..f35c37f 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,8 +38,7 @@ fi FEATURES=(bytecheck bytemuck libm rand rkyv/size_64 serde) echo "Testing supported features: ${FEATURES[*]}" -cargo generate-lockfile -check_version 1.63.0 || cargo update -p libm --precise 0.2.9 +generate_lockfile set -x