Skip to content

Commit 0fd3bc5

Browse files
authored
Bump edition to 2024; MSRV 1.85 (#194)
1 parent f1cbfe2 commit 0fd3bc5

File tree

18 files changed

+33
-37
lines changed

18 files changed

+33
-37
lines changed

.github/workflows/aucpace.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
rust:
27-
- 1.61 # MSRV
27+
- 1.85 # MSRV
2828
- stable
2929
target:
3030
- thumbv7em-none-eabi
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
rust:
45-
- 1.61 # MSRV
45+
- 1.85 # MSRV
4646
- stable
4747
steps:
4848
- uses: actions/checkout@v4

.github/workflows/spake2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
rust:
25-
- 1.60.0 # MSRV
25+
- 1.85.0 # MSRV
2626
- stable
2727
target:
2828
- thumbv7em-none-eabi
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
matrix:
4242
rust:
43-
- 1.60.0 # MSRV
43+
- 1.85.0 # MSRV
4444
- stable
4545
steps:
4646
- uses: actions/checkout@v4

.github/workflows/srp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
rust:
27-
- 1.61 # MSRV
27+
- 1.85 # MSRV
2828
- stable
2929
steps:
3030
- uses: actions/checkout@v4

.github/workflows/workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: dtolnay/rust-toolchain@master
1919
with:
20-
toolchain: 1.85.1
20+
toolchain: 1.91.0
2121
components: clippy
2222
- run: cargo clippy --all -- -D warnings
2323

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aucpace/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ keywords = ["crypto", "pake", "authentication"]
1111
categories = ["cryptography", "authentication"]
1212
exclude = [".gitignore"]
1313
readme = "README.md"
14-
edition = "2021"
15-
rust-version = "1.61"
14+
edition = "2024"
15+
rust-version = "1.85"
1616

1717
[dependencies]
1818
curve25519-dalek = { version = "4", default-features = false, features = [

aucpace/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ USE AT YOUR OWN RISK!
5656

5757
## Minimum Supported Rust Version
5858

59-
Rust **1.61** or higher.
59+
Rust **1.85** or higher.
6060

6161
Minimum supported Rust version can be changed in the future, but it will be
6262
done with a minor version bump.
@@ -85,7 +85,7 @@ dual licensed as above, without any additional terms or conditions.
8585
[build-image]: https://github.com/RustCrypto/PAKEs/actions/workflows/aucpace.yml/badge.svg
8686
[build-link]: https://github.com/RustCrypto/PAKEs/actions/workflows/aucpace.yml
8787
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
88-
[rustc-image]: https://img.shields.io/badge/rustc-1.60+-blue.svg
88+
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
8989
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
9090
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260045-PAKEs
9191

aucpace/examples/key_agreement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use curve25519_dalek::ristretto::RistrettoPoint;
33
use password_hash::{ParamsString, SaltString};
44
use rand_core::OsRng;
55
use scrypt::{Params, Scrypt};
6-
use sha2::digest::Output;
76
use sha2::Sha512;
7+
use sha2::digest::Output;
88
use std::io::{Read, Write};
99
use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpListener, TcpStream};
1010
use std::sync::atomic::{AtomicUsize, Ordering};

aucpace/examples/key_agreement_no_std.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ macro_rules! send {
2121

2222
/// function like macro to wrap receiving data over a tcp stream, returns the message received
2323
macro_rules! recv {
24-
($buf:ident) => {{
25-
postcard::from_bytes(&$buf).unwrap()
26-
}};
24+
($buf:ident) => {{ postcard::from_bytes(&$buf).unwrap() }};
2725
}
2826

2927
fn main() -> Result<()> {

aucpace/examples/key_agreement_partial_aug.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use curve25519_dalek::scalar::Scalar;
66
use password_hash::{ParamsString, SaltString};
77
use rand_core::OsRng;
88
use scrypt::{Params, Scrypt};
9-
use sha2::digest::Output;
109
use sha2::Sha512;
10+
use sha2::digest::Output;
1111
use std::io::{Read, Write};
1212
use std::net::{IpAddr, Ipv4Addr, SocketAddr, TcpListener, TcpStream};
1313
use std::sync::atomic::{AtomicUsize, Ordering};

0 commit comments

Comments
 (0)