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 a5d8fb1
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 a5d8fb1

Please sign in to comment.