Skip to content

Commit

Permalink
Increase MSRV to 1.70 and update workflow dependencies (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlewi committed Sep 25, 2023
1 parent 07c3f74 commit 83795f3
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 20 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- --features serde
toolchain:
- stable
- 1.65.0
- 1.70.0
name: test
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main

- name: Install ${{ matrix.toolchain }} toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
- curve25519,ristretto255-voprf
- curve25519
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: actions/checkout@main
- uses: hecrj/setup-rust-action@v2
- run: cargo install cross
# Note: just use `cross` as you would `cargo`, but always
# pass the `--target=${{ matrix.target }}` arg. (Yes, really).
Expand All @@ -78,13 +78,13 @@ jobs:
matrix:
toolchain:
- stable
- 1.65.0
- 1.70.0
name: test simple_login command-line example
steps:
- name: install expect
run: sudo apt-get install expect
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main
- name: install rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -101,13 +101,13 @@ jobs:
matrix:
toolchain:
- stable
- 1.65.0
- 1.70.0
name: test digital_locker command-line example
steps:
- name: install expect
run: sudo apt-get install expect
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main
- name: install rust
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -137,8 +137,8 @@ jobs:
- argon2
- serde
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: actions/checkout@main
- uses: hecrj/setup-rust-action@v2
- run: rustup target add ${{ matrix.target }}
- run: cargo build --verbose --target=${{ matrix.target }} --no-default-features --features ${{ matrix.frontend_feature }},${{ matrix.backend_feature }}

Expand All @@ -155,7 +155,7 @@ jobs:
- --features curve25519
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -175,7 +175,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
run: cargo install taplo-cli --locked

- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@main

- name: Run Taplo
run: taplo fmt --check
Expand All @@ -248,5 +248,5 @@ jobs:
name: cargo-deny check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
- uses: EmbarkStudios/cargo-deny-action@v1
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
rust: [stable]

steps:
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@v3
- uses: actions/checkout@main
- name: Login to crates.io
run: cargo login $CRATES_IO_TOKEN
env:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 3.0.0-pre.5 (TBD)
* Increased MSRV to 1.70

## 3.0.0-pre.4 (July 25, 2023)
* Updated voprf and curve25519-dalek dependencies

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ license = "Apache-2.0 OR MIT"
name = "opaque-ke"
readme = "README.md"
repository = "https://github.com/facebook/opaque-ke"
rust-version = "1.65"
version = "3.0.0-pre.4"
rust-version = "1.70"
version = "3.0.0-pre.5"

[features]
argon2 = ["dep:argon2"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ opaque-ke = "3.0.0-pre.4"

### Minimum Supported Rust Version

Rust **1.65** or higher.
Rust **1.70** or higher.

Audit
-----
Expand Down

0 comments on commit 83795f3

Please sign in to comment.