[package]
edition = "2021"
rust-version = "1.63"
name = "tar"
version = "0.4.45"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = false
exclude = ["tests/archives/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A Rust implementation of a TAR file reader and writer. This library does not
currently handle compression, but it is abstract over all I/O readers and
writers. Additionally, great lengths are taken to ensure that the entire
contents are never required to be entirely resident in memory all at once.
"""
homepage = "https://github.com/alexcrichton/tar-rs"
documentation = "https://docs.rs/tar"
readme = "README.md"
keywords = [
"tar",
"tarfile",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alexcrichton/tar-rs"
[features]
default = ["xattr"]
[lib]
name = "tar"
path = "src/lib.rs"
[[example]]
name = "extract_file"
path = "examples/extract_file.rs"
[[example]]
name = "list"
path = "examples/list.rs"
[[example]]
name = "raw_list"
path = "examples/raw_list.rs"
[[example]]
name = "write"
path = "examples/write.rs"
[[test]]
name = "all"
path = "tests/all.rs"
[[test]]
name = "entry"
path = "tests/entry.rs"
[dependencies.filetime]
version = "0.2.8"
[dev-dependencies.astral-tokio-tar]
version = "0.5"
[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[dev-dependencies.tokio-stream]
version = "0.1"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.xattr]
version = "1.1.3"
optional = true
[lints.rust]
dead_code = "deny"