# 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 = "2021"
rust-version = "1.85"
name = "dev-async"
version = "0.9.3"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async-specific validation for Rust. Deadlocks, task leaks, hung futures, graceful shutdown. Part of the dev-* verification suite."
homepage = "https://github.com/jamesgober/dev-async"
documentation = "https://docs.rs/dev-async"
readme = "README.md"
keywords = [
    "async",
    "tokio",
    "deadlock",
    "verification",
    "ai-tools",
]
categories = [
    "development-tools",
    "development-tools::testing",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/jamesgober/dev-async"

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

[features]
block-detect = ["dep:pin-project-lite"]
default = []

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

[[example]]
name = "run_with_timeout"
path = "examples/run_with_timeout.rs"

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

[dependencies.dev-report]
version = "0.9"

[dependencies.pin-project-lite]
version = "0.2"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
]

[dev-dependencies]

[profile.release]
opt-level = 3
lto = "thin"
