diff --git a/.github/workflows/lint_and_build.yml b/.github/workflows/lint_and_build.yml index e8a53e8..3975de7 100644 --- a/.github/workflows/lint_and_build.yml +++ b/.github/workflows/lint_and_build.yml @@ -35,9 +35,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Rust - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master with: components: rustfmt,clippy + toolchain: nightly-2024-01-31 - name: fmt run: cargo fmt --check - name: clippy diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f6b6a9..c1b65bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,16 +66,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install rust - uses: dtolnay/rust-toolchain@nightly + uses: dtolnay/rust-toolchain@master with: - toolchain: nightly-2023-08-01 - targets: x86_64-unknown-linux-musl - - name: Setup rust - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - target: ${{ matrix.target }} + toolchain: nightly-2024-01-31 + targets: ${{ matrix.target }} - name: Set up cargo cache uses: actions/cache@v4 continue-on-error: false diff --git a/Cargo.toml b/Cargo.toml index 0b715bf..f78f743 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rickview" -version = "0.2.11" +version = "0.2.12" edition = "2021" license = "MIT" keywords = ["rdf", "semantic-web", "linked-data"] diff --git a/Dockerfile b/Dockerfile index 64f363a..cacbe24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM clux/muslrust:1.73.0-nightly-2023-08-01 AS chef +FROM clux/muslrust:1.77.0-nightly-2024-01-31 AS chef USER root RUN cargo install cargo-chef WORKDIR /app diff --git a/README.md b/README.md index fe50744..f401909 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,10 @@ This requires you to install [Rust including Cargo](https://www.rust-lang.org/to I recommend installing Rust via `rustup`, especially on Ubuntu, because `apt install cargo` may install an old version and not work correctly with RickView. On Arch Linux however, both `pacman -S rustup` and `pacman -S rust` worked in my testing as the Rust package was much more current and does not require a separate step of choosing between stable and unstable rust. +### Toolchain +The "hdt" feature, which is enabled by default, requires the nightly toolchain. +Due to an [issue with a dependency of that feature](https://github.com/rust-lang/packed_simd/issues/359), nightly rust 1.77.0 (2023-01-31) is currently highest supported version. + ## Configure Default configuration is stored in `data/default.toml`, which you can override with a custom `data/config.toml` or environment variables. Configuration keys are in lower\_snake\_case, while environment variables are prefixed with RICKVIEW\_ and are in SCREAMING\_SNAKE\_CASE. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf..4a4b32f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,6 @@ [toolchain] -channel = "nightly" +# channel = "nightly" +# nightly 1.78 currently not supported by packed_simd dependency due to the removal of the stdsimd feature +# see https://github.com/rust-lang/packed_simd/issues/359 +# this is only necessary for the default hdt feature, which you can disable using --no-default-features +channel = "nightly-2024-01-31"