[package]
edition = "2024"
rust-version = "1.85"
name = "async-tar"
version = "0.6.0"
authors = [
"dignifiedquire <me@dignifiequire.com>",
"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 an async 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/dignifiedquire/async-tar"
documentation = "https://docs.rs/async-tar"
readme = "README.md"
keywords = [
"tar",
"tarfile",
"encoding",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/dignifiedquire/async-tar"
[features]
default = [
"xattr",
"runtime-async-std",
]
runtime-async-std = ["async-std"]
runtime-tokio = [
"tokio",
"tokio-stream",
]
[lib]
name = "async_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.async-std]
version = "1.13"
optional = true
[dependencies.filetime]
version = "0.2.27"
[dependencies.futures-core]
version = "0.3.31"
[dependencies.tokio]
version = "1.49"
features = [
"fs",
"io-util",
]
optional = true
[dependencies.tokio-stream]
version = "0.1.18"
features = ["fs"]
optional = true
[dev-dependencies.async-std]
version = "1.13"
features = [
"unstable",
"attributes",
]
[dev-dependencies.static_assertions]
version = "1.1"
[dev-dependencies.tempfile]
version = "3.24"
[dev-dependencies.tokio]
version = "1.49"
features = [
"rt",
"io-std",
"rt-multi-thread",
"macros",
]
[target.'cfg(target_os = "redox")'.dependencies.redox_syscall]
version = "0.7"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.xattr]
version = "1.6"
optional = true