Skip to content

Commit

Permalink
bump MSRV to 1.63
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jun 8, 2024
1 parent 62c9a38 commit 8d64a65
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion benches/lzma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)));
})
});
}
Expand Down

0 comments on commit 8d64a65

Please sign in to comment.