diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70e4b9a..370c2ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,11 +155,11 @@ jobs: - uses: actions-rs/toolchain@v1 with: - toolchain: 1.57.0 + toolchain: 1.63.0 override: true - name: check if README matches MSRV defined here - run: grep '1.57.0' README.md + run: grep '1.63.0' README.md - name: Run tests uses: actions-rs/cargo@v1 diff --git a/README.md b/README.md index 824d42e..5e7e828 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ it will throw a runtime error. ## Minimum supported Rust version -Currently the minimum supported Rust version is 1.57.0. +Currently the minimum supported Rust version is 1.63.0. ## Similar project diff --git a/benches/lzma.rs b/benches/lzma.rs index cb2fc8b..d10c362 100644 --- a/benches/lzma.rs +++ b/benches/lzma.rs @@ -85,7 +85,9 @@ fn read_on_disk(c: &mut Criterion) { b.iter(|| { compress_file.seek(std::io::SeekFrom::Start(0)).unwrap(); - read_all_stream(Box::new(liblzma::read::XzDecoder::new(compress_file.as_file()))); + read_all_stream(Box::new(liblzma::read::XzDecoder::new( + compress_file.as_file(), + ))); }) }); }