Skip to content

Commit

Permalink
Merge pull request #404 from Ogeon/msrv_1_61
Browse files Browse the repository at this point in the history
Increment MSRV to 1.61.0
  • Loading branch information
Ogeon authored Jul 31, 2024
2 parents 6c36983 + 37795e3 commit afa3b12
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion palette/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion palette/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions palette/src/convert/from_into_color_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ where

impl<T, U> FromColorMut<[U]> for [T]
where
T: FromColorMut<U> + ArrayCast + ?Sized,
U: FromColorMut<T> + ArrayCast<Array = T::Array> + ?Sized,
T: FromColorMut<U> + ArrayCast,
U: FromColorMut<T> + ArrayCast<Array = T::Array>,
{
#[inline]
fn from_color_mut(colors: &mut [U]) -> FromColorMutGuard<Self, [U]> {
Expand Down
4 changes: 2 additions & 2 deletions palette/src/convert/from_into_color_unclamped_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ where

impl<T, U> FromColorUnclampedMut<[U]> for [T]
where
T: FromColorUnclampedMut<U> + ArrayCast + ?Sized,
U: FromColorUnclampedMut<T> + ArrayCast<Array = T::Array> + ?Sized,
T: FromColorUnclampedMut<U> + ArrayCast,
U: FromColorUnclampedMut<T> + ArrayCast<Array = T::Array>,
{
#[inline]
fn from_color_unclamped_mut(colors: &mut [U]) -> FromColorUnclampedMutGuard<Self, [U]> {
Expand Down
20 changes: 10 additions & 10 deletions palette/src/stimulus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![
Expand Down Expand Up @@ -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![
Expand Down
2 changes: 1 addition & 1 deletion palette_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion palette_derive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit afa3b12

Please sign in to comment.