Hi! Since 0.4.0 sevenz-rust fails to build if you do not enable the default feature "compress".
If default-features = false is used, sevenz-rust build fails with this error:
error[E0432]: unresolved import `lzma_rust::LZMA2Options`
--> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\sevenz-rust-0.4.0\src\method_options.rs:1:5
|
1 | use lzma_rust::LZMA2Options;
| ^^^^^^^^^^^^^^^^^^^^^^^ no `LZMA2Options` in the root
error[E0599]: no variant or associated item named `LZMA2` found for enum `MethodOptions` in the current scope
--> C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\sevenz-rust-0.4.0\src\method_options.rs:32:68
|
9 | pub enum MethodOptions {
| ---------------------- variant or associated item `LZMA2` not found for this enum
...
32 | Self::new(SevenZMethod::LZMA2).with_options(MethodOptions::LZMA2(value))
| ^^^^^ variant or associated item not found in `MethodOptions`
Hi! Since 0.4.0 sevenz-rust fails to build if you do not enable the default feature "compress". If
default-features = false
is used, sevenz-rust build fails with this error: