Bump lianad MSRV to 1.54

Now that the latest Debian stable was released with 1.63.
This commit is contained in:
Antoine Poinsot 2023-06-27 17:01:27 +02:00
parent 607c0abdda
commit 117221e9ee
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304
3 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@ jobs:
strategy: strategy:
matrix: matrix:
toolchain: toolchain:
- 1.48 - 1.54
- nightly - nightly
os: os:
- ubuntu-latest - ubuntu-latest
@ -42,8 +42,7 @@ jobs:
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: cargo test --verbose --no-default-features run: cargo test --verbose --no-default-features
- name: Test on Rust ${{ matrix.toolchain }} (non Windows) - name: Test on Rust ${{ matrix.toolchain }} (non Windows)
# See issue https://github.com/wizardsardine/liana/issues/69 if: matrix.os != 'windows-latest'
if: matrix.os != 'windows-latest' && (matrix.os != 'macOS-latest' || matrix.toolchain != '1.48')
run: cargo test --verbose --color always -- --nocapture run: cargo test --verbose --color always -- --nocapture
linter_gui: linter_gui:

View File

@ -66,7 +66,11 @@ query).
## Minimum Supported Rust Version ## 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 ## Style

View File

@ -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 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 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 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 community). The minimum supported Rust version for `lianad` currently is `1.54`.
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`).
If you want to not only build the daemon but the whole wallet including the GUI, you'll 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 unfortunately have to use a more recent `cargo`. The minimum version supported by the GUI at the