[package]
name = "archive-utils"
description = "Utilities for working with file archives"
version = "0.0.0"
edition = "2021"

[features]
tar-gz = ["tar", "flate2"]
tar-xz = ["tar", "xz2"]
tar-zst = ["tar", "zstd"]

[dependencies]
common = { path = "../common" }
path-utils = { path = "../path-utils" }

flate2 = { version = "1.0.22", optional = true }
tar = { version = "0.4.37", optional = true }
xz2 = { version = "0.1.6", optional = true }
zip = { version = "0.5.13", optional = true }
zstd = { version = "0.11.2", optional = true }

[package]
name = "archive-utils"
description = "Utilities for working with file archives"
version = "0.0.0"
edition = "2021"

[features]
tar-gz = ["tar", "flate2"]
tar-xz = ["tar", "xz2"]
tar-zst = ["tar", "zstd"]

[dependencies]
common = { path = "../common" }
path-utils = { path = "../path-utils" }

flate2 = { version = "1.0.22", optional = true }
tar = { version = "0.4.37", optional = true }
xz2 = { version = "0.1.6", optional = true }
zip = { version = "0.5.13", optional = true, default-features = false, features = [
    "deflate",
    "bzip2",
    "time",
] }
zstd = { version = "0.11.2", optional = true }

Disable the `zstd` feature of `zip` to avoid clash with own import
chore(Rust): Disable the `zstd` feature of `zip` to avoid clash with own import
