diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4999d2ca..d60b5a9ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.60.0 + - uses: dtolnay/rust-toolchain@1.61.0 with: components: clippy - uses: taiki-e/install-action@cargo-hack diff --git a/README.md b/README.md index f5124f29c..0258d1f9b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A color management and conversion library that focuses on maintaining correctnes ## Minimum Supported Rust Version (MSRV) -This version of Palette has been automatically tested with Rust version `1.60.0` and the `stable`, `beta`, and `nightly` channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes. +This version of Palette has been automatically tested with Rust version `1.61.0` and the `stable`, `beta`, and `nightly` channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes. ## Contributing diff --git a/palette/Cargo.toml b/palette/Cargo.toml index 1cc8d726e..7f1e07484 100644 --- a/palette/Cargo.toml +++ b/palette/Cargo.toml @@ -25,7 +25,7 @@ edition = "2018" resolver = "2" categories = ["graphics", "multimedia::images", "no-std"] build = "build/main.rs" -rust-version = "1.60.0" +rust-version = "1.61.0" [features] default = ["named_from_str", "std", "approx"] diff --git a/palette/README.md b/palette/README.md index 94fc97d9a..0b91f3239 100644 --- a/palette/README.md +++ b/palette/README.md @@ -15,7 +15,7 @@ A color management and conversion library that focuses on maintaining correctnes ## Minimum Supported Rust Version (MSRV) -This version of Palette has been automatically tested with Rust version `1.60.0` and the `stable`, `beta`, and `nightly` channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes. +This version of Palette has been automatically tested with Rust version `1.61.0` and the `stable`, `beta`, and `nightly` channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes. ## Getting Started diff --git a/palette/src/convert/from_into_color_mut.rs b/palette/src/convert/from_into_color_mut.rs index c8f27f926..489528337 100644 --- a/palette/src/convert/from_into_color_mut.rs +++ b/palette/src/convert/from_into_color_mut.rs @@ -132,8 +132,8 @@ where impl FromColorMut<[U]> for [T] where - T: FromColorMut + ArrayCast + ?Sized, - U: FromColorMut + ArrayCast + ?Sized, + T: FromColorMut + ArrayCast, + U: FromColorMut + ArrayCast, { #[inline] fn from_color_mut(colors: &mut [U]) -> FromColorMutGuard { diff --git a/palette/src/convert/from_into_color_unclamped_mut.rs b/palette/src/convert/from_into_color_unclamped_mut.rs index 6ba4cc2f6..4c58a4eba 100644 --- a/palette/src/convert/from_into_color_unclamped_mut.rs +++ b/palette/src/convert/from_into_color_unclamped_mut.rs @@ -133,8 +133,8 @@ where impl FromColorUnclampedMut<[U]> for [T] where - T: FromColorUnclampedMut + ArrayCast + ?Sized, - U: FromColorUnclampedMut + ArrayCast + ?Sized, + T: FromColorUnclampedMut + ArrayCast, + U: FromColorUnclampedMut + ArrayCast, { #[inline] fn from_color_unclamped_mut(colors: &mut [U]) -> FromColorUnclampedMutGuard { diff --git a/palette/src/stimulus.rs b/palette/src/stimulus.rs index 85031b925..c467ee264 100644 --- a/palette/src/stimulus.rs +++ b/palette/src/stimulus.rs @@ -294,11 +294,11 @@ mod test { 1.0, 1.4, f32::from_bits(0x4b44_0000), - core::f32::MAX, - core::f32::MIN, - core::f32::NAN, - core::f32::INFINITY, - core::f32::NEG_INFINITY, + f32::MAX, + f32::MIN, + f32::NAN, + f32::INFINITY, + f32::NEG_INFINITY, ]; let expected = vec![ @@ -333,11 +333,11 @@ mod test { 1.0, 1.4, f64::from_bits(0x4334_0000_0000_0000), - core::f64::MAX, - core::f64::MIN, - core::f64::NAN, - core::f64::INFINITY, - core::f64::NEG_INFINITY, + f64::MAX, + f64::MIN, + f64::NAN, + f64::INFINITY, + f64::NEG_INFINITY, ]; let expected = vec![ diff --git a/palette_derive/Cargo.toml b/palette_derive/Cargo.toml index a55fc6fa6..a7ca3ff07 100644 --- a/palette_derive/Cargo.toml +++ b/palette_derive/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["palette", "derive", "macros"] license = "MIT OR Apache-2.0" edition = "2018" resolver = "2" -rust-version = "1.60.0" +rust-version = "1.61.0" [lib] proc-macro = true diff --git a/palette_derive/README.md b/palette_derive/README.md index c4043d28f..e73f575f9 100644 --- a/palette_derive/README.md +++ b/palette_derive/README.md @@ -4,7 +4,7 @@ Contains derive macros for the [`palette`](https://crates.io/crates/palette/) cr ## Minimum Supported Rust Version (MSRV) -This version of Palette has been automatically tested with Rust version `1.60.0` and the `stable`, `beta`, and `nightly` channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes. +This version of Palette has been automatically tested with Rust version `1.61.0` and the `stable`, `beta`, and `nightly` channels. Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes. ## License