# 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.85"
name = "async-tempfile"
version = "0.8.0"
authors = ["Markus Mayer"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automatically deleted async I/O temporary files."
documentation = "https://docs.rs/async-tempfile"
readme = "README.md"
keywords = [
    "tokio",
    "temporary-files",
    "temp",
]
categories = [
    "asynchronous",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/sunsided/async-tempfile-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
uuid = ["dep:uuid"]

[lib]
name = "async_tempfile"
path = "src/lib.rs"

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

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

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

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

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

[dependencies.tokio]
version = "1.38.0"
features = [
    "fs",
    "rt",
]

[dependencies.uuid]
version = "1.9.1"
features = ["v4"]
optional = true

[dev-dependencies.tokio]
version = "1.38.0"
features = [
    "rt-multi-thread",
    "macros",
    "rt",
    "time",
    "io-util",
]

[dev-dependencies.tokio-test]
version = "0.4.4"
