Skip to content

Commit

Permalink
pin nightly version to 1.77.0 2024-01-31 because of a dependency issu…
Browse files Browse the repository at this point in the history
…e of the hdt feature, release 0.2.12
  • Loading branch information
KonradHoeffner committed Feb 16, 2024
1 parent 5a21392 commit 4b28f2b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-08-01
toolchain: nightly-2024-01-31
targets: x86_64-unknown-linux-musl
- name: Setup rust
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 5 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 4b28f2b

Please sign in to comment.