diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a72eae..18862dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,12 @@ jobs: build: strategy: matrix: - toolchain: [ stable, beta ] + toolchain: [ stable, beta, 1.63.0 ] # 1.63.0 is current MSRV for vss-client include: - toolchain: stable check-fmt: true + - toolchain: 1.63.0 + msrv: true runs-on: ubuntu-latest steps: - name: Checkout source code @@ -20,6 +22,12 @@ jobs: run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }} rustup override set ${{ matrix.toolchain }} + - name: Pin packages to allow for MSRV + if: matrix.msrv + run: | + cargo update -p proptest --precise "1.2.0" --verbose # proptest 1.3.0 requires rustc 1.64.0 + cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0 + cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer - name: Build on Rust ${{ matrix.toolchain }} run: cargo build --verbose --color always - name: Check formatting diff --git a/Cargo.toml b/Cargo.toml index e840df3..f4c97db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "vss-client" version = "0.2.2" +rust-version = "1.63.0" license = "MIT OR Apache-2.0" edition = "2021" homepage = "https://lightningdevkit.org/" @@ -34,6 +35,6 @@ prost-build = { version = "0.11.3" } reqwest = { version = "0.11.13", default-features = false, features = ["rustls-tls", "blocking"] } [dev-dependencies] -mockito = "0.31.1" +mockito = "0.28.0" proptest = "1.1.0" tokio = { version = "1.22.0", features = ["macros"]} diff --git a/README.md b/README.md index cca0604..89efac0 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,6 @@ simplify the development process for Lightning wallets by providing a secure mea and manage the essential state required for Lightning Network (LN) operations. Learn more [here](https://github.com/lightningdevkit/vss-server/blob/main/README.md). + +## MSRV +The Minimum Supported Rust Version (MSRV) is currently 1.63.0. \ No newline at end of file