backhand 0.25.0

Library for the reading, creating, and modification of SquashFS file systems
Documentation
# 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 = "2024"
rust-version = "1.86"
name = "backhand"
version = "0.25.0"
authors = ["wcampbell <wcampbell1995@gmail.com>"]
build = false
autolib = 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"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "xz",
    "gzip",
    "zstd",
    "document-features",
    "v3",
    "v3_lzma",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
any-gzip = []
default = [
    "xz",
    "gzip",
    "zstd",
    "lz4",
    "parallel",
]
gzip = [
    "any-gzip",
    "dep:flate2",
]
lz4 = ["dep:lz4_flex"]
lzo = ["dep:rust-lzo"]
parallel = ["dep:rayon"]
v3 = ["gzip"]
v3_lzma = [
    "v3",
    "dep:lzma-adaptive-sys",
    "dep:lzma-rust2",
]
xz = ["dep:liblzma"]
xz-static = [
    "dep:liblzma",
    "liblzma?/static",
]
zstd = [
    "dep:zstd",
    "dep:zstd-safe",
]

[lib]
name = "backhand"
path = "src/lib.rs"
bench = false

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false

[dependencies.deku]
version = "0.20.1"
features = [
    "std",
    "bits",
    "descriptive-errors",
]
default-features = false

[dependencies.document-features]
version = "0.2.10"
optional = true

[dependencies.flate2]
version = "1.1.0"
features = ["zlib-rs"]
optional = true
default-features = false

[dependencies.liblzma]
version = "0.4.1"
features = [
    "static",
    "parallel",
]
optional = true
default-features = false

[dependencies.lz4_flex]
version = "0.12.0"
optional = true
default-features = false

[dependencies.lzma-adaptive-sys]
version = "0.1.0"
optional = true

[dependencies.lzma-rust2]
version = "0.16.0"
features = [
    "xz",
    "encoder",
    "optimization",
]
optional = true

[dependencies.no_std_io2]
version = "0.9.0"

[dependencies.rayon]
version = "1.10.0"
optional = true
default-features = false

[dependencies.rust-lzo]
version = "0.6.2"
optional = true

[dependencies.solana-nohash-hasher]
version = "0.2.1"

[dependencies.thiserror]
version = "2.0.1"

[dependencies.tracing]
version = "0.1.40"

[dependencies.xxhash-rust]
version = "0.8.12"
features = ["xxh64"]

[dependencies.zstd]
version = "0.13.2"
optional = true

[dependencies.zstd-safe]
version = "7.2.1"
optional = true

[dev-dependencies.assert_cmd]
version = "2.0.16"
features = [
    "color",
    "color-auto",
]

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.libdeflater]
version = "1.22.0"

[dev-dependencies.tempfile]
version = "3.14.0"

[dev-dependencies.test-assets-ureq]
version = "0.6.0"

[dev-dependencies.test-log]
version = "0.2.16"
features = ["trace"]

[dev-dependencies.toml]
version = "0.8"