Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update proptest-derive requirement from 0.4 to 0.5 #282

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ futures = "0.3.5"
futures-test = "0.3.5"
ntest = "0.9"
proptest = "1"
proptest-derive = "0.4"
proptest-derive = "0.5"
rand = "0.8.5"
tokio = { version = "1.24.2", default-features = false, features = ["io-util", "macros", "rt-multi-thread", "io-std"] }
tokio-util = { version = "0.7", default-features = false, features = ["io"] }
Expand Down
2 changes: 1 addition & 1 deletion src/codec/lzma/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub struct LzmaDecoder {
impl LzmaDecoder {
pub fn new() -> Self {
Self {
inner: crate::codec::Xz2Decoder::new(u64::max_value()),
inner: crate::codec::Xz2Decoder::new(u64::MAX),
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/codec/xz/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct XzDecoder {
impl XzDecoder {
pub fn new() -> Self {
Self {
inner: crate::codec::Xz2Decoder::new(u64::max_value()),
inner: crate::codec::Xz2Decoder::new(u64::MAX),
skip_padding: None,
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/algos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ algos! {

to_vec(XzDecoder::new_stream(
bytes,
Stream::new_lzma_decoder(u64::max_value()).unwrap(),
Stream::new_lzma_decoder(u64::MAX).unwrap(),
))
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/utils/test_cases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ macro_rules! io_test_cases {
fn with_level_max() {
let encoder = bufread::Encoder::with_quality(
bufread::from(&one_to_six_stream()),
Level::Precise(i32::max_value()),
Level::Precise(i32::MAX),
);
let compressed = read::to_vec(encoder);
let output = sync::decompress(&compressed);
Expand Down Expand Up @@ -354,7 +354,7 @@ macro_rules! io_test_cases {
|input| {
Box::pin(write::Encoder::with_quality(
input,
Level::Precise(i32::max_value()),
Level::Precise(i32::MAX),
))
},
65_536,
Expand Down