[package]
edition = "2024"
rust-version = "1.87"
name = "tarzan"
version = "0.4.0"
authors = ["Andrew Straw"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Random-access, seekable .tar.zst archives with an embedded table-of-contents index"
readme = "README.md"
keywords = [
"tar",
"zstd",
"archive",
"compression",
"seekable",
]
categories = [
"compression",
"filesystem",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/astraw/tarzan-rs"
[features]
default = ["zstd-sys"]
pure-rust = ["dep:zstd-pure-rs"]
zstd-sys = ["dep:zstd"]
[lib]
name = "tarzan"
path = "src/lib.rs"
[[bin]]
name = "tarzan"
path = "src/main.rs"
[[test]]
name = "cat_cli"
path = "tests/cat_cli.rs"
[[test]]
name = "cli_behavior"
path = "tests/cli_behavior.rs"
[[test]]
name = "edge_case_shapes"
path = "tests/edge_case_shapes.rs"
[[test]]
name = "extract_cli"
path = "tests/extract_cli.rs"
[[test]]
name = "extraction"
path = "tests/extraction.rs"
[[test]]
name = "info_cli"
path = "tests/info_cli.rs"
[[test]]
name = "interoperability"
path = "tests/interoperability.rs"
[[test]]
name = "list_cli"
path = "tests/list_cli.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[test]]
name = "toc_layout"
path = "tests/toc_layout.rs"
[[test]]
name = "wrap_cli"
path = "tests/wrap_cli.rs"
[[test]]
name = "wrap_roundtrip"
path = "tests/wrap_roundtrip.rs"
[[test]]
name = "zstd_interop"
path = "tests/zstd_interop.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.filetime]
version = "0.2"
[dependencies.glob]
version = "0.3"
[dependencies.md5]
version = "0.7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tar]
version = "0.4"
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"env-filter",
]
[dependencies.twox-hash]
version = "2"
features = ["xxhash64"]
default-features = false
[dependencies.zstd]
version = "0.13"
optional = true
[dependencies.zstd-pure-rs]
version = "0.1"
optional = true
[dev-dependencies.tempfile]
version = "3.12"
[dev-dependencies.zstd]
version = "0.13"
[dev-dependencies.zstd-pure-rs]
version = "0.1"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.xattr]
version = "1"
[profile.dist]
lto = "thin"
inherits = "release"