decompress 0.1.0

Extracting archives made easy
Documentation
[package]
name = "decompress"
version = "0.1.0"
edition = "2021"

description = "Extracting archives made easy"
authors = ["Dotan Nahum <dotan@rng0.io>"]
documentation = "https://docs.rs/decompress/"
repository = "https://github.com/rusty-ferris-club/decompress"
keywords = ["compression", "archive", "unpack", "tar", "zip"]
license = "Apache-2.0"
readme = "../README.md"

[features]
default = ["all"]
all = ["tarball", "tarxz", "targz", "tarbz", "tarzst", "zip", "ar"]

tarball = ["dep:tar"]
tarzst = ["tarball", "dep:zstd"]
targz = ["tarball", "dep:flate2"]
tarbz = ["tarball", "dep:bzip2"]
tarxz = ["tarball", "dep:xz"]
zip = ["dep:zip"]
ar = ["dep:ar"]

[dependencies]

regex = "1.7.0"
lazy_static = "1.4.0"
thiserror = "1.0.37"
ar = { version = "0.9.0", optional = true }
tar = { version = "0.4.38", optional = true }
zip = { version = "0.6.3", optional = true }
bzip2 = { version = "0.4.3", optional = true }
flate2 = { version = "1.0.25", optional = true }
xz = { version = "0.1.0", optional = true }
zstd = { version = "0.12.0", optional = true }

[dev-dependencies]
sha2 = "0.10.6"
walkdir = "2.3.2"
rstest = "0.16.0"
clap = { version = "4.0.27", features = ["cargo"] }

[[test]]
name = "archives_test"
required-features = ["all"]

[[example]]
name = "unpack"
required-features = ["default"]

[[example]]
name = "unzip"
required-features = ["zip"]