# 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"
name = "archive-trait"
version = "0.0.5"
authors = ["William Woodruff <william@astral.sh>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Format-neutral, asynchronous archive construction and extraction"
homepage = "https://github.com/astral-sh/tar-codec"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/astral-sh/tar-codec"

[lib]
name = "archive_trait"
path = "src/lib.rs"
doctest = false

[[test]]
name = "builder"
path = "tests/builder.rs"

[[test]]
name = "extract"
path = "tests/extract.rs"

[[test]]
name = "links"
path = "tests/links.rs"

[dependencies.cap-std]
version = "4.0.2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "rt",
    "sync",
]

[dependencies.walkdir]
version = "2.5.0"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.60.2"
features = ["Win32_Storage_FileSystem"]

[target."cfg(windows)".dev-dependencies.junction]
version = "2.0.0"
