From d5fb8096740faf41224349c2ee22b7bc6b4a4f52 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Mon, 20 Nov 2023 16:21:31 +0000 Subject: [PATCH] CI: MSRV=1.56; rand_jitter: use Edition 2021 --- .github/workflows/test.yml | 2 +- rand_jitter/Cargo.toml | 4 ++-- rand_jitter/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9593525c..6315a0b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: # Test both windows-gnu and windows-msvc; use beta rust on one - os: ubuntu-latest target: x86_64-unknown-linux-gnu - toolchain: 1.51.0 # temporary MSRV of rand_jitter + toolchain: 1.56.0 # MSRV: oldest easily testable version - os: ubuntu-latest deps: sudo apt-get update ; sudo apt install gcc-multilib target: i686-unknown-linux-gnu diff --git a/rand_jitter/Cargo.toml b/rand_jitter/Cargo.toml index 00ae8839..bccedfee 100644 --- a/rand_jitter/Cargo.toml +++ b/rand_jitter/Cargo.toml @@ -8,8 +8,8 @@ repository = "https://github.com/rust-random/rngs" documentation = "https://docs.rs/rand_jitter" description = "Random number generator based on timing jitter" keywords = ["random", "rng", "os"] -edition = "2018" -rust-version = "1.51" +edition = "2021" +rust-version = "1.56" [dependencies] rand_core = { version = "0.6" } diff --git a/rand_jitter/README.md b/rand_jitter/README.md index e84e41f6..18d6b1f2 100644 --- a/rand_jitter/README.md +++ b/rand_jitter/README.md @@ -5,7 +5,7 @@ [![Book](https://img.shields.io/badge/book-master-yellow.svg)](https://rust-random.github.io/book/) [![API](https://img.shields.io/badge/api-master-yellow.svg)](https://rust-random.github.io/rand/rand_jitter) [![API](https://docs.rs/rand_jitter/badge.svg)](https://docs.rs/rand_jitter) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.51-lightgray.svg)](https://github.com/rust-random/rngs#rust-version-requirements) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.56-lightgray.svg)](https://github.com/rust-random/rngs#rust-version-requirements) Non-physical true random number generator based on timing jitter.