Increase MSRV to 1.70 and update workflow dependencies (#342)
This commit is contained in:
+15
-15
@@ -23,11 +23,11 @@ jobs:
|
|||||||
- --features serde
|
- --features serde
|
||||||
toolchain:
|
toolchain:
|
||||||
- stable
|
- stable
|
||||||
- 1.65.0
|
- 1.70.0
|
||||||
name: test
|
name: test
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Install ${{ matrix.toolchain }} toolchain
|
- name: Install ${{ matrix.toolchain }} toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@@ -63,8 +63,8 @@ jobs:
|
|||||||
- curve25519,ristretto255-voprf
|
- curve25519,ristretto255-voprf
|
||||||
- curve25519
|
- curve25519
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@main
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v2
|
||||||
- run: cargo install cross
|
- run: cargo install cross
|
||||||
# Note: just use `cross` as you would `cargo`, but always
|
# Note: just use `cross` as you would `cargo`, but always
|
||||||
# pass the `--target=${{ matrix.target }}` arg. (Yes, really).
|
# pass the `--target=${{ matrix.target }}` arg. (Yes, really).
|
||||||
@@ -78,13 +78,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
- stable
|
- stable
|
||||||
- 1.65.0
|
- 1.70.0
|
||||||
name: test simple_login command-line example
|
name: test simple_login command-line example
|
||||||
steps:
|
steps:
|
||||||
- name: install expect
|
- name: install expect
|
||||||
run: sudo apt-get install expect
|
run: sudo apt-get install expect
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
- name: install rust
|
- name: install rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@@ -101,13 +101,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
- stable
|
- stable
|
||||||
- 1.65.0
|
- 1.70.0
|
||||||
name: test digital_locker command-line example
|
name: test digital_locker command-line example
|
||||||
steps:
|
steps:
|
||||||
- name: install expect
|
- name: install expect
|
||||||
run: sudo apt-get install expect
|
run: sudo apt-get install expect
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
- name: install rust
|
- name: install rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@@ -137,8 +137,8 @@ jobs:
|
|||||||
- argon2
|
- argon2
|
||||||
- serde
|
- serde
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@main
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v2
|
||||||
- run: rustup target add ${{ matrix.target }}
|
- run: rustup target add ${{ matrix.target }}
|
||||||
- run: cargo build --verbose --target=${{ matrix.target }} --no-default-features --features ${{ matrix.frontend_feature }},${{ matrix.backend_feature }}
|
- run: cargo build --verbose --target=${{ matrix.target }} --no-default-features --features ${{ matrix.frontend_feature }},${{ matrix.backend_feature }}
|
||||||
|
|
||||||
@@ -155,7 +155,7 @@ jobs:
|
|||||||
- --features curve25519
|
- --features curve25519
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@@ -175,7 +175,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@@ -204,7 +204,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Install nightly toolchain
|
- name: Install nightly toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@@ -239,7 +239,7 @@ jobs:
|
|||||||
run: cargo install taplo-cli --locked
|
run: cargo install taplo-cli --locked
|
||||||
|
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Run Taplo
|
- name: Run Taplo
|
||||||
run: taplo fmt --check
|
run: taplo fmt --check
|
||||||
@@ -248,5 +248,5 @@ jobs:
|
|||||||
name: cargo-deny check
|
name: cargo-deny check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@main
|
||||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||||
|
|||||||
@@ -11,12 +11,13 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
|
rust: [stable]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v2
|
||||||
with:
|
with:
|
||||||
rust-version: ${{ matrix.rust }}
|
rust-version: ${{ matrix.rust }}
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@main
|
||||||
- name: Login to crates.io
|
- name: Login to crates.io
|
||||||
run: cargo login $CRATES_IO_TOKEN
|
run: cargo login $CRATES_IO_TOKEN
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.0.0-pre.5 (TBD)
|
||||||
|
* Increased MSRV to 1.70
|
||||||
|
|
||||||
## 3.0.0-pre.4 (July 25, 2023)
|
## 3.0.0-pre.4 (July 25, 2023)
|
||||||
* Updated voprf and curve25519-dalek dependencies
|
* Updated voprf and curve25519-dalek dependencies
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -8,8 +8,8 @@ license = "Apache-2.0 OR MIT"
|
|||||||
name = "opaque-ke"
|
name = "opaque-ke"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/facebook/opaque-ke"
|
repository = "https://github.com/facebook/opaque-ke"
|
||||||
rust-version = "1.65"
|
rust-version = "1.70"
|
||||||
version = "3.0.0-pre.4"
|
version = "3.0.0-pre.5"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
argon2 = ["dep:argon2"]
|
argon2 = ["dep:argon2"]
|
||||||
|
|||||||
Reference in New Issue
Block a user