diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4e5a32c..d612e9fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: toolchain: - - 1.48 + - 1.54 - nightly os: - ubuntu-latest @@ -42,8 +42,7 @@ jobs: if: matrix.os == 'windows-latest' run: cargo test --verbose --no-default-features - name: Test on Rust ${{ matrix.toolchain }} (non Windows) - # See issue https://github.com/wizardsardine/liana/issues/69 - if: matrix.os != 'windows-latest' && (matrix.os != 'macOS-latest' || matrix.toolchain != '1.48') + if: matrix.os != 'windows-latest' run: cargo test --verbose --color always -- --nocapture linter_gui: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 228df938..412a5809 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -66,7 +66,11 @@ query). ## Minimum Supported Rust Version -`lianad` should always compile and pass tests using **Rust 1.48**. +`lianad` should always compile and pass tests using **Rust 1.54**. The rationale behind this is +support something reasonable, and preferably supported by all of: +- [Guix](https://guix.gnu.org/) +- Popular distributions' packages (especially Debian which is the most conservative) +- [Mrustc](https://github.com/thepowersgang/mrustc) ## Style diff --git a/doc/BUILD.md b/doc/BUILD.md index 214274bd..98fcc3cf 100644 --- a/doc/BUILD.md +++ b/doc/BUILD.md @@ -8,10 +8,7 @@ this repository. They are pinned in a [`Cargo.lock`](../Cargo.lock) file at the We take security very seriously, and toolchain is a big part of that. We are moderatly conservative with dependencies and aim to target reasonable compiler versions that have had time to mature (ie that had the chance to be reviewed and distributed by third parties, as well as tested by the -community). The minimum supported Rust version for `lianad` currently is `1.48`, that is the -version of [`rustc` shipped in Debian stable](https://packages.debian.org/stable/rustc). (It is also -inferior to the latest version of `rustc` supported by -[`mrustc`](https://github.com/thepowersgang/mrustc/) at the time of writing, `1.54`). +community). The minimum supported Rust version for `lianad` currently is `1.54`. If you want to not only build the daemon but the whole wallet including the GUI, you'll unfortunately have to use a more recent `cargo`. The minimum version supported by the GUI at the