From 45bda664bedf1018b328f07e4bc811fecf6799ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Fri, 22 Nov 2024 14:58:42 +0300 Subject: [PATCH] Bump MSRV to 1.81 --- .github/workflows/ghash.yml | 4 ++-- .github/workflows/poly1305.yml | 14 +++++++------- .github/workflows/polyval.yml | 14 +++++++------- .github/workflows/workspace.yml | 2 +- ghash/Cargo.toml | 2 +- ghash/README.md | 4 +--- poly1305/Cargo.toml | 2 +- poly1305/README.md | 4 +--- polyval/Cargo.toml | 2 +- polyval/README.md | 4 +--- 10 files changed, 23 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ghash.yml b/.github/workflows/ghash.yml index e00f045..cfdec17 100644 --- a/.github/workflows/ghash.yml +++ b/.github/workflows/ghash.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: rust: - - 1.65.0 # MSRV + - 1.81.0 # MSRV - stable target: - thumbv7em-none-eabi @@ -53,7 +53,7 @@ jobs: strategy: matrix: rust: - - 1.65.0 # MSRV + - 1.81.0 # MSRV - stable steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/poly1305.yml b/.github/workflows/poly1305.yml index 538ff24..cce5d53 100644 --- a/.github/workflows/poly1305.yml +++ b/.github/workflows/poly1305.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: rust: - - 1.65.0 # MSRV + - 1.81.0 # MSRV - stable target: - thumbv7em-none-eabi @@ -48,7 +48,7 @@ jobs: include: # 32-bit Linux - target: i686-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV deps: sudo apt update && sudo apt install gcc-multilib - target: i686-unknown-linux-gnu rust: stable @@ -56,7 +56,7 @@ jobs: # 64-bit Linux - target: x86_64-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV - target: x86_64-unknown-linux-gnu rust: stable steps: @@ -82,7 +82,7 @@ jobs: include: # 32-bit Linux - target: i686-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV deps: sudo apt update && sudo apt install gcc-multilib - target: i686-unknown-linux-gnu rust: stable @@ -90,7 +90,7 @@ jobs: # 64-bit Linux - target: x86_64-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV - target: x86_64-unknown-linux-gnu rust: stable steps: @@ -116,7 +116,7 @@ jobs: include: # 32-bit Linux - target: i686-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV deps: sudo apt update && sudo apt install gcc-multilib - target: i686-unknown-linux-gnu rust: stable @@ -124,7 +124,7 @@ jobs: # 64-bit Linux - target: x86_64-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV - target: x86_64-unknown-linux-gnu rust: stable steps: diff --git a/.github/workflows/polyval.yml b/.github/workflows/polyval.yml index 3ce482b..f0b8795 100644 --- a/.github/workflows/polyval.yml +++ b/.github/workflows/polyval.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: rust: - - 1.65.0 # MSRV + - 1.81.0 # MSRV - stable target: - thumbv7em-none-eabi @@ -48,7 +48,7 @@ jobs: include: # 32-bit Linux - target: i686-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV deps: sudo apt update && sudo apt install gcc-multilib - target: i686-unknown-linux-gnu rust: stable @@ -56,7 +56,7 @@ jobs: # 64-bit Linux - target: x86_64-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV - target: x86_64-unknown-linux-gnu rust: stable steps: @@ -82,7 +82,7 @@ jobs: include: # 32-bit Linux - target: i686-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV deps: sudo apt update && sudo apt install gcc-multilib - target: i686-unknown-linux-gnu rust: stable @@ -90,7 +90,7 @@ jobs: # 64-bit Linux - target: x86_64-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV - target: x86_64-unknown-linux-gnu rust: stable steps: @@ -116,7 +116,7 @@ jobs: include: # 32-bit Linux - target: i686-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV deps: sudo apt update && sudo apt install gcc-multilib - target: i686-unknown-linux-gnu rust: stable @@ -124,7 +124,7 @@ jobs: # 64-bit Linux - target: x86_64-unknown-linux-gnu - rust: 1.65.0 # MSRV + rust: 1.81.0 # MSRV - target: x86_64-unknown-linux-gnu rust: stable steps: diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 9cb76d7..3f51325 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.80.0 + toolchain: 1.82.0 components: clippy - run: cargo clippy --all --all-features -- -D warnings diff --git a/ghash/Cargo.toml b/ghash/Cargo.toml index 4c50d37..9dba577 100644 --- a/ghash/Cargo.toml +++ b/ghash/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/RustCrypto/universal-hashes" readme = "README.md" keywords = ["aes-gcm", "crypto", "universal-hashing"] categories = ["cryptography", "no-std"] -rust-version = "1.65" +rust-version = "1.81" edition = "2021" [dependencies] diff --git a/ghash/README.md b/ghash/README.md index 76d852a..66762db 100644 --- a/ghash/README.md +++ b/ghash/README.md @@ -12,8 +12,6 @@ can be used for constructing a [Message Authentication Code (MAC)][3]. Its primary intended use is for implementing [AES-GCM][4]. -[Documentation][docs-link] - ## Security ### ⚠️ Warning: [Hazmat!][hazmat-link] @@ -60,7 +58,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/ghash/badge.svg [docs-link]: https://docs.rs/ghash/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [build-image]: https://github.com/RustCrypto/universal-hashes/workflows/ghash/badge.svg?branch=master&event=push [build-link]: https://github.com/RustCrypto/universal-hashes/actions?query=workflow%3Aghash [hazmat-image]: https://img.shields.io/badge/crypto-hazmat%E2%9A%A0-red.svg diff --git a/poly1305/Cargo.toml b/poly1305/Cargo.toml index 4b14b43..93d1776 100644 --- a/poly1305/Cargo.toml +++ b/poly1305/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/RustCrypto/universal-hashes" keywords = ["crypto", "chacha20", "mac", "salsa20", "universal-hashing"] categories = ["cryptography", "no-std"] readme = "README.md" -rust-version = "1.65" +rust-version = "1.81" edition = "2021" [dependencies] diff --git a/poly1305/README.md b/poly1305/README.md index 733557c..61fff5e 100644 --- a/poly1305/README.md +++ b/poly1305/README.md @@ -14,8 +14,6 @@ In practice, Poly1305 is primarily combined with ciphers from the [Salsa20 Family][4] such as in [ChaCha20Poly1305][5] and [XSalsa20Poly1305][6] (a.k.a. NaCl `crypto_secretbox`). -[Documentation][docs-link] - ## Security ### ⚠️ Warning: [Hazmat!][hazmat-link] @@ -64,7 +62,7 @@ dual licensed as above, without any additional terms or conditions. [docs-image]: https://docs.rs/poly1305/badge.svg [docs-link]: https://docs.rs/poly1305/ [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [build-image]: https://github.com/RustCrypto/universal-hashes/workflows/poly1305/badge.svg?branch=master&event=push [build-link]: https://github.com/RustCrypto/universal-hashes/actions?query=workflow%3Apoly1305 [hazmat-image]: https://img.shields.io/badge/crypto-hazmat%E2%9A%A0-red.svg diff --git a/polyval/Cargo.toml b/polyval/Cargo.toml index 9de5351..85f6043 100644 --- a/polyval/Cargo.toml +++ b/polyval/Cargo.toml @@ -12,7 +12,7 @@ repository = "https://github.com/RustCrypto/universal-hashes" readme = "README.md" keywords = ["aes-gcm", "aes-gcm-siv", "crypto", "ghash", "universal-hashing"] categories = ["cryptography", "no-std"] -rust-version = "1.65" +rust-version = "1.81" edition = "2021" [dependencies] diff --git a/polyval/README.md b/polyval/README.md index a49e0dc..0080f0b 100644 --- a/polyval/README.md +++ b/polyval/README.md @@ -15,8 +15,6 @@ Its primary intended use is for implementing [AES-GCM-SIV][5], however it is closely related to [GHASH][6] and therefore can also be used to implement [AES-GCM][7] at no cost to performance on little endian architectures. -[Documentation][docs-link] - ## Security ### ⚠️ Warning: [Hazmat!][hazmat-link] @@ -65,7 +63,7 @@ dual licensed as above, without any additional terms or conditions. [build-image]: https://github.com/RustCrypto/universal-hashes/workflows/polyval/badge.svg?branch=master&event=push [build-link]: https://github.com/RustCrypto/universal-hashes/actions?query=workflow%3Apolyval [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg -[rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.81+-blue.svg [hazmat-image]: https://img.shields.io/badge/crypto-hazmat%E2%9A%A0-red.svg [hazmat-link]: https://github.com/RustCrypto/meta/blob/master/HAZMAT.md