# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "decompress" version = "0.6.0" authors = ["Dotan Nahum "] description = "Extracting archives made easy" documentation = "https://docs.rs/decompress/" readme = "README.md" keywords = [ "compression", "archive", "unpack", "tar", "zip", ] license = "Apache-2.0" repository = "https://github.com/rusty-ferris-club/decompress" resolver = "1" [[example]] name = "unpack" required-features = ["default"] [[example]] name = "unzip" required-features = ["zip"] [[test]] name = "archives_test" required-features = ["all"] [dependencies.ar] version = "0.9.0" optional = true [dependencies.bzip2] version = "0.4.3" optional = true [dependencies.derive_builder] version = "0.12.0" [dependencies.flate2] version = "1.0.25" optional = true [dependencies.infer] version = "0.12.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.regex] version = "1.7.0" [dependencies.tar] version = "0.4.38" optional = true [dependencies.thiserror] version = "1.0.37" [dependencies.unrar] version = "0.4.4" optional = true [dependencies.xz] version = "0.1.0" optional = true [dependencies.zip] version = "0.6.3" optional = true [dependencies.zstd] version = "0.12.0" optional = true [dev-dependencies.clap] version = "4.0.27" features = ["cargo"] [dev-dependencies.dircmp] version = "0.2.0" [dev-dependencies.insta] version = "1.24.1" [dev-dependencies.rstest] version = "0.16.0" [features] all = [ "tarball", "tarxz", "targz", "tarbz", "tarzst", "zip", "ar", "gz", "bz2", "xz", "zstd", "rar", ] ar = ["dep:ar"] bz2 = ["dep:bzip2"] default = ["all"] gz = ["dep:flate2"] rar = ["dep:unrar"] tarball = ["dep:tar"] tarbz = [ "tarball", "dep:bzip2", ] targz = [ "tarball", "dep:flate2", ] tarxz = [ "tarball", "dep:xz", ] tarzst = [ "tarball", "dep:zstd", ] xz = ["dep:xz"] zip = ["dep:zip"] zstd = ["dep:zstd"]