mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
* ed25519-dalek: bump MSRV to 1.81
base64ct now requires rustc 1.81
* nightly and stable disagree on usage of unsafe
```
error: unnecessary `unsafe` block
492
--> curve25519-dalek/src/backend/vector/avx2/field.rs:479:28
493
|
494
479 | let c9_19: u32x8 = unsafe {
495
| ^^^^^^ unnecessary `unsafe` block
```
This would only happen on nightly.
33 lines
734 B
YAML
33 lines
734 B
YAML
name: ed25519 Rust
|
|
|
|
on:
|
|
push:
|
|
branches: [ '**' ]
|
|
paths: 'ed25519-dalek/**'
|
|
pull_request:
|
|
branches: [ '**' ]
|
|
paths: 'ed25519-dalek/**'
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ed25519-dalek
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
RUSTFLAGS: '-D warnings'
|
|
RUSTDOCFLAGS: '-D warnings'
|
|
|
|
jobs:
|
|
|
|
msrv:
|
|
name: Current MSRV is 1.81.0
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
# Re-resolve Cargo.lock with minimal versions
|
|
- uses: dtolnay/rust-toolchain@nightly
|
|
- run: cargo update -Z minimal-versions
|
|
# Now check that `cargo build` works with respect to the oldest possible
|
|
# deps and the stated MSRV
|
|
- uses: dtolnay/rust-toolchain@1.81.0
|
|
- run: cargo build
|