[package]
name = "backhand-cli"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version = "1.86.0"
description = "Binaries for the reading, creating, and modification of SquashFS file systems"
readme = "../README.md"
[dependencies]
nix = { version = "0.30.0", default-features = false, features = ["fs"] }
clap = { version = "4.5.13", features = ["derive", "wrap_help"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "fmt"] }
libc = "0.2.162"
clap_complete = "4.5.13"
indicatif = "0.18.3"
console = "0.16.1"
rayon = "1.10.0"
backhand = { path = "../backhand", default-features = false, version = "0.24.1" }
tracing = "0.1.40"
color-print = "0.3.6"
clap-cargo = "0.18.3"
[lib]
bench = false
[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
version = "0.5.4"
[features]
default = ["xz", "gzip", "zstd"]
v3 = ["backhand/v3"]
v3_lzma = ["backhand/v3", "backhand/v3_lzma"]
xz = ["backhand/xz"]
xz-static = ["xz", "backhand/xz-static"]
any-gzip = []
gzip = ["any-gzip", "backhand/gzip"]
lzo = ["backhand/lzo"]
zstd = ["backhand/zstd"]
lz4 = ["backhand/lz4"]
parallel = ["backhand/parallel"]
[[bin]]
name = "unsquashfs-backhand"
path = "src/bin/unsquashfs.rs"
bench = false
[[bin]]
name = "add-backhand"
path = "src/bin/add.rs"
bench = false
[[bin]]
name = "replace-backhand"
path = "src/bin/replace.rs"
bench = false
[dev-dependencies]
gungraun = "0.17.0"
test-assets-ureq = "0.6.0"
toml = "0.8"