Skip to content

Commit 975a67e

Browse files
committed
Rust toolchain: v1.48.0 -> 1.56.0 for 2021 edition
Some dependencies now rely on the 2021 edition which requires Rust 1.56.0 or newer. Fixes #258
1 parent beb46c0 commit 975a67e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
rust: ["1.48.0", stable, beta, nightly]
15+
rust: ["1.56.0", stable, beta, nightly]
1616
features: ["", "rayon"]
1717
command: [test, benchmark]
1818

@@ -29,12 +29,12 @@ jobs:
2929
- name: test
3030
run: >
3131
cargo test --tests --benches --no-default-features --features "$FEATURES"
32-
if: ${{ matrix.command == 'test' && matrix.rust != '1.48.0' }}
32+
if: ${{ matrix.command == 'test' && matrix.rust != '1.56.0' }}
3333
env:
3434
FEATURES: ${{ matrix.features }}
3535
- name: benchmark
3636
run: cargo bench --bench decoding_benchmark --no-default-features --features "$FEATURES" -- --warm-up-time 1 --measurement-time 1 --sample-size 25
37-
if: ${{ matrix.command == 'benchmark' && matrix.rust != '1.48.0' }}
37+
if: ${{ matrix.command == 'benchmark' && matrix.rust != '1.56.0' }}
3838
env:
3939
FEATURES: ${{ matrix.features }}
4040

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.48.0
1+
1.56.0

0 commit comments

Comments
 (0)