diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63936e4..2b67525 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ env: # If the compilation fails, then the version specified here needs to be bumped up to reality. # Be sure to also update the rust-version property in the workspace Cargo.toml file, # plus all the README.md files of the affected packages. - RUST_MIN_VER: "1.70" + RUST_MIN_VER: "1.74" # List of packages that will be checked with the minimum supported Rust version. # This should be limited to packages that are intended for publishing. RUST_MIN_VER_PKGS: "-p parley" diff --git a/Cargo.toml b/Cargo.toml index 6c68c76..1376823 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Chad Brokaw "] license = "Apache-2.0 OR MIT" edition = "2021" # Keep in sync with RUST_MIN_VER in .github/workflows/ci.yml and with the relevant README.md files. -rust-version = "1.70" +rust-version = "1.74" [features] default = ["system"] diff --git a/README.md b/README.md index 776fd7a..33b5330 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,23 @@ It is backed by [Swash](https://github.com/dfrg/swash). ## Minimum supported Rust Version (MSRV) -This version of Parley has been verified to compile with **Rust 1.70** and later. +This version of Parley has been verified to compile with **Rust 1.74** and later. Future versions of Parley might increase the Rust version requirement. It will not be treated as a breaking change and as such can even happen with small patch releases. +
+Click here if compiling fails. + +As time has passed, some of Parley's dependencies could have released versions with a higher Rust requirement. +If you encounter a compilation issue due to a dependency and don't want to upgrade your Rust toolchain, then you could downgrade the dependency. + +```sh +# Use the problematic dependency's name and version +cargo update -p package_name --precise 0.1.1 +``` +
+ ## Community Discussion of Parley development happens in the [Linebender Zulip](https://xi.zulipchat.com/), specifically the [#text stream](https://xi.zulipchat.com/#narrow/stream/205635-text).