From 854ef3852b9fc2ab676569357e240e8f8dbf361f Mon Sep 17 00:00:00 2001 From: Marshall Pierce <575695+marshallpierce@users.noreply.github.com> Date: Sun, 27 Nov 2022 09:37:55 -0700 Subject: [PATCH] Update MSRV and criterion --- .circleci/config.yml | 2 +- Cargo.toml | 5 +++-- README.md | 2 +- RELEASE-NOTES.md | 2 +- clippy.toml | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a0c76f..fa98f9c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ workflows: # be easier on the CI hosts since presumably those fat lower layers will already be cached, and # therefore faster than a minimal, customized alpine. # MSRV - 'rust:1.51.0' + 'rust:1.57.0' ] # a hacky scheme to work around CircleCI's inability to deal with mutable docker tags, forcing us to # get a nightly or stable toolchain via rustup instead of a mutable docker tag diff --git a/Cargo.toml b/Cargo.toml index 9592b7c..06fdd5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,15 +10,16 @@ keywords = ["base64", "utf8", "encode", "decode", "no_std"] categories = ["encoding"] license = "MIT OR Apache-2.0" edition = "2018" -rust-version = "1.51.0" +rust-version = "1.57.0" [[bench]] name = "benchmarks" harness = false [dev-dependencies] -criterion = "0.3.5" +criterion = "0.4.0" rand = { version = "0.8.5", features = ["small_rng"] } +# clap 4 would require 1.60 structopt = "0.3.26" # test fixtures for engine tests rstest = "0.12.0" diff --git a/README.md b/README.md index f48a201..b6cf608 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ If you have a `Read` (e.g. reading a file or network socket), there are various ## Rust version compatibility -The minimum required Rust version is 1.51.0. +The minimum required Rust version is 1.57.0. # Contributing diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index eaf84dc..7d8f04f 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -2,7 +2,7 @@ ## Next -- MSRV is now 1.51.0 to keep up with `criterion` +- Update MSRV to 1.57.0 ## 0.20.0-alpha.1 diff --git a/clippy.toml b/clippy.toml index 434e968..23b32c1 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.51.0" +msrv = "1.57.0"