# 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" rust-version = "1.72.1" name = "backhand" version = "0.18.0" authors = ["wcampbell "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library for the reading, creating, and modification of SquashFS file systems" readme = "README.md" keywords = [ "filesystem", "deku", "squashfs", "linux", ] categories = [ "filesystem", "parsing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/wcampbell0x2a/backhand" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "backhand" path = "src/lib.rs" bench = false [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.deku] version = "0.17.0" [dependencies.document-features] version = "0.2.8" optional = true [dependencies.flate2] version = "1.0.30" optional = true [dependencies.rust-lzo] version = "0.6.2" optional = true [dependencies.rustc-hash] version = "1.1.0" [dependencies.thiserror] version = "1.0.59" [dependencies.tracing] version = "0.1.40" [dependencies.xz2] version = "0.1.7" optional = true [dependencies.zstd] version = "0.13.1" optional = true [dependencies.zstd-safe] version = "7.0.0" optional = true [dependencies.zune-inflate] version = "0.2.54" features = ["zlib"] optional = true default-features = false [dev-dependencies.assert_cmd] version = "2.0.14" features = [ "color", "color-auto", ] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.libdeflater] version = "1.20.0" [dev-dependencies.tempfile] version = "3.10.1" [dev-dependencies.test-log] version = "0.2.15" features = ["trace"] [features] any-gzip = [] default = [ "xz", "gzip", "zstd", ] gzip = [ "any-gzip", "dep:flate2", ] gzip-zune-inflate = [ "any-gzip", "dep:zune-inflate", ] lzo = ["dep:rust-lzo"] xz = ["dep:xz2"] xz-static = [ "dep:xz2", "xz2?/static", ] zstd = [ "dep:zstd", "dep:zstd-safe", ]