Put encoding_rs/simd-accel behind a nightly feature
This commit is contained in:
parent
808280cb10
commit
db4f9af254
|
@ -25,9 +25,9 @@ jobs:
|
|||
with:
|
||||
components: clippy
|
||||
- name: Cargo check
|
||||
run: cargo check --all-features --all-targets
|
||||
run: cargo check --features debug --all-targets
|
||||
- name: Cargo clippy
|
||||
run: cargo clippy --all-features --all-targets
|
||||
run: cargo clippy --features debug --all-targets
|
||||
|
||||
fmt:
|
||||
name: Format
|
||||
|
@ -73,7 +73,7 @@ jobs:
|
|||
components: rust-src
|
||||
targets: ${{ matrix.target }}
|
||||
- name: Cargo build
|
||||
run: cargo ${{ matrix.build }} --release --all-features --target ${{ matrix.target }} --bin ${{ env.CARGO_BIN_NAME }} -Z build-std=std,panic_abort
|
||||
run: cargo ${{ matrix.build }} --release --features nightly --target ${{ matrix.target }} --bin ${{ env.CARGO_BIN_NAME }} -Z build-std=std,panic_abort
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
@ -19,10 +19,14 @@ panic = "abort"
|
|||
|
||||
[features]
|
||||
debug = []
|
||||
nightly = [
|
||||
"encoding_rs/simd-accel",
|
||||
"encoding_rs/fast-kanji-encode",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.72"
|
||||
encoding_rs = { version = "0.8.32", features = ["simd-accel", "fast-kanji-encode"] }
|
||||
encoding_rs = "0.8.32"
|
||||
memexec = { version = "0.2.0", features = ["hook"] }
|
||||
rustc-hash = "1.1.0"
|
||||
|
||||
|
|
Loading…
Reference in New Issue