style: cargo fmt --all & #![allow(dead_code)]
This commit is contained in:
parent
de95acc543
commit
3ccaa3cc85
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
#![allow(unused_variables)]
|
#![allow(unused_variables)]
|
||||||
|
#![allow(dead_code)]
|
||||||
use anyhow::Context;
|
use anyhow::Context;
|
||||||
use clap::{Parser, ValueEnum};
|
use clap::{Parser, ValueEnum};
|
||||||
use std::io::prelude::*;
|
use std::io::prelude::*;
|
||||||
|
@ -65,7 +66,7 @@ fn real_main() -> i32 {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "deflate")]
|
#[cfg(feature = "deflate")]
|
||||||
zip::CompressionMethod::Deflated
|
zip::CompressionMethod::Deflated
|
||||||
},
|
}
|
||||||
CompressionMethod::DeflatedMiniz => {
|
CompressionMethod::DeflatedMiniz => {
|
||||||
#[cfg(not(feature = "deflate-miniz"))]
|
#[cfg(not(feature = "deflate-miniz"))]
|
||||||
{
|
{
|
||||||
|
@ -74,7 +75,7 @@ fn real_main() -> i32 {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "deflate-miniz")]
|
#[cfg(feature = "deflate-miniz")]
|
||||||
zip::CompressionMethod::Deflated
|
zip::CompressionMethod::Deflated
|
||||||
},
|
}
|
||||||
CompressionMethod::DeflatedZlib => {
|
CompressionMethod::DeflatedZlib => {
|
||||||
#[cfg(not(feature = "deflate-zlib"))]
|
#[cfg(not(feature = "deflate-zlib"))]
|
||||||
{
|
{
|
||||||
|
@ -83,7 +84,7 @@ fn real_main() -> i32 {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "deflate-zlib")]
|
#[cfg(feature = "deflate-zlib")]
|
||||||
zip::CompressionMethod::Deflated
|
zip::CompressionMethod::Deflated
|
||||||
},
|
}
|
||||||
CompressionMethod::Bzip2 => {
|
CompressionMethod::Bzip2 => {
|
||||||
#[cfg(not(feature = "bzip2"))]
|
#[cfg(not(feature = "bzip2"))]
|
||||||
{
|
{
|
||||||
|
@ -92,7 +93,7 @@ fn real_main() -> i32 {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "bzip2")]
|
#[cfg(feature = "bzip2")]
|
||||||
zip::CompressionMethod::Bzip2
|
zip::CompressionMethod::Bzip2
|
||||||
},
|
}
|
||||||
CompressionMethod::Zstd => {
|
CompressionMethod::Zstd => {
|
||||||
#[cfg(not(feature = "zstd"))]
|
#[cfg(not(feature = "zstd"))]
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue