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
This commit is contained in:
nora 2022-04-06 20:39:50 +02:00
parent 7bdf2db629
commit 918030363a
3 changed files with 7 additions and 2 deletions

View file

@ -86,6 +86,10 @@ jobs:
os: ubuntu-latest os: ubuntu-latest
rust: stable rust: stable
target: riscv64gc-unknown-linux-gnu target: riscv64gc-unknown-linux-gnu
# msrv
- build: msrv
os: ubuntu-latest
rust: 1.34.2
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View file

@ -11,7 +11,7 @@ license = "MIT"
keywords = ["unsafe", "pointer", "bitpacking", "provenance", "tagging"] keywords = ["unsafe", "pointer", "bitpacking", "provenance", "tagging"]
categories = ["data-structures", "memory-management", "no-std"] categories = ["data-structures", "memory-management", "no-std"]
include = ["Cargo.toml", "LICENSE", "src", "README.md"] 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -96,4 +96,5 @@ fn main() {
``` ```
# MSRV-Policy # MSRV-Policy
`stuff`s current MSRV is `1.31.1`, and this version will not get raised unless absolutely necessary. `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.