From 918030363a9ebc835437f2bb8422236103c1b345 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Wed, 6 Apr 2022 20:39:50 +0200 Subject: [PATCH] increase MSRV to `1.34.2` to use `Try(From|Into)` 0.2.0 isn't released yet, so I'll just do that sneakily --- .github/workflows/rust.yml | 4 ++++ Cargo.toml | 2 +- README.md | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 59f3649..843dd18 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -86,6 +86,10 @@ jobs: os: ubuntu-latest rust: stable target: riscv64gc-unknown-linux-gnu + # msrv + - build: msrv + os: ubuntu-latest + rust: 1.34.2 steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index a44973a..e538c8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT" keywords = ["unsafe", "pointer", "bitpacking", "provenance", "tagging"] categories = ["data-structures", "memory-management", "no-std"] include = ["Cargo.toml", "LICENSE", "src", "README.md"] -rust-version = "1.31.1" +rust-version = "1.34.2" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index f511b36..0470f1f 100644 --- a/README.md +++ b/README.md @@ -96,4 +96,5 @@ fn main() { ``` # MSRV-Policy -`stuff`s current MSRV is `1.31.1`, and this version will not get raised unless absolutely necessary. \ No newline at end of file +`stuff`s current MSRV is `1.34.2`. This version *can* get increased in a non-breaking change, but such changes +are avoided unless necessary. Features requiring a newer Rust version might get gated behind optional features in the futurey. \ No newline at end of file