chore: Bump lzma-rs from 0.1.3 to 0.2.0
Bumps [lzma-rs](https://github.com/gendx/lzma-rs) from 0.1.3 to 0.2.0. - [Release notes](https://github.com/gendx/lzma-rs/releases) - [Changelog](https://github.com/gendx/lzma-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/gendx/lzma-rs/compare/v0.1.3...v0.2.0) Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
78627acc92
commit
185a4f5b8f
|
@ -1929,9 +1929,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "lzma-rs"
|
||||
version = "0.1.3"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "adc181f57e3b64bb860c476fe5751eb6f60e9fcf588b1447e24c0757c1c3101f"
|
||||
checksum = "aba8ecb0450dfabce4ad72085eed0a75dffe8f21f7ada05638564ea9db2d7fb1"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"crc",
|
||||
|
|
|
@ -20,7 +20,7 @@ libflate = {version = "1.1", optional = true}
|
|||
log = "0.4"
|
||||
smallvec = "1.6.1"
|
||||
flate2 = {version = "1.0", optional = true}
|
||||
lzma-rs = {version = "0.1.3", optional = true }
|
||||
lzma-rs = {version = "0.2.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
approx = "0.4.0"
|
||||
|
|
|
@ -166,6 +166,8 @@ fn make_lzma_reader<'a, R: Read + 'a>(
|
|||
&mut output,
|
||||
&Options {
|
||||
unpacked_size: UnpackedSize::UseProvided(Some(uncompressed_length.into())),
|
||||
allow_incomplete: true,
|
||||
memlimit: None,
|
||||
},
|
||||
)
|
||||
.map_err(|_| Error::invalid_data("Unable to decompress LZMA SWF."))?;
|
||||
|
|
Loading…
Reference in New Issue