Skip to content

Commit 7e0a25e

Browse files
committed
Update wasmparser and ruzstd dependencies
1 parent 8130a96 commit 7e0a25e

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ features = ['doc']
2727
crc32fast = { version = "1.2", default-features = false, optional = true }
2828
flate2 = { version = "1", optional = true }
2929
indexmap = { version = "2.0", default-features = false, optional = true }
30-
wasmparser = { version = "0.222.0", default-features = false, optional = true }
30+
wasmparser = { version = "0.232.0", default-features = false, optional = true }
3131
memchr = { version = "2.4.1", default-features = false }
3232
hashbrown = { version = "0.15.0", features = ["default-hasher"], default-features = false, optional = true }
33-
ruzstd = { version = "0.7.0", optional = true }
33+
ruzstd = { version = "0.8.1", optional = true }
3434

3535
# Internal feature, only used when building as part of libstd, not part of the
3636
# stable interface of this crate.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ See [`crates/examples`](crates/examples) for more examples.
4242
## Minimum Supported Rust Version (MSRV)
4343

4444
Changes to MSRV are considered breaking changes. We are conservative about changing the MSRV,
45-
but sometimes are required to due to dependencies. The MSRV is 1.65.0.
45+
but sometimes are required to due to dependencies. The MSRV with all features enabled is 1.81.0.
46+
The MSRV with some features disabled is 1.65.0.
4647

4748
## License
4849

src/read/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -998,11 +998,11 @@ impl<'data> CompressedData<'data> {
998998
CompressionFormat::Zstandard => {
999999
let mut input = self.data;
10001000
while !input.is_empty() {
1001-
let mut decoder = match ruzstd::StreamingDecoder::new(&mut input) {
1001+
let mut decoder = match ruzstd::decoding::StreamingDecoder::new(&mut input) {
10021002
Ok(decoder) => decoder,
10031003
Err(
1004-
ruzstd::frame_decoder::FrameDecoderError::ReadFrameHeaderError(
1005-
ruzstd::frame::ReadFrameHeaderError::SkipFrame {
1004+
ruzstd::decoding::errors::FrameDecoderError::ReadFrameHeaderError(
1005+
ruzstd::decoding::errors::ReadFrameHeaderError::SkipFrame {
10061006
length,
10071007
..
10081008
},

xtask/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ fn cmd_msrv() -> Result<(), DynError> {
192192
cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true");
193193
},
194194
)?;
195-
// wasmparser needs 1.76.0 and ruzstd needs 1.73
195+
// wasmparser needs 1.76.0 and ruzstd needs 1.81
196196
cmd_with(
197197
"cargo",
198-
&["+1.76.0", "test", "-p", "object", "--features", "all"],
198+
&["+1.81.0", "test", "-p", "object", "--features", "all"],
199199
|cmd| {
200200
cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true");
201201
},

0 commit comments

Comments
 (0)