# 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.56"
name = "async-trait"
version = "0.1.89"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
exclude = ["build.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type erasure for async trait methods"
documentation = "https://docs.rs/async-trait"
readme = "README.md"
keywords = ["async"]
categories = [
    "asynchronous",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/async-trait"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--generate-link-to-definition",
    "--extern-html-root-url=core=https://doc.rust-lang.org",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
    "--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]

[lib]
name = "async_trait"
path = "src/lib.rs"
proc-macro = true

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

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

[dependencies.proc-macro2]
version = "1.0.74"

[dependencies.quote]
version = "1.0.35"

[dependencies.syn]
version = "2.0.46"
features = [
    "clone-impls",
    "full",
    "parsing",
    "printing",
    "proc-macro",
    "visit-mut",
]
default-features = false

[dev-dependencies.futures]
version = "0.3.30"

[dev-dependencies.rustversion]
version = "1.0.13"

[dev-dependencies.tracing]
version = "0.1.40"

[dev-dependencies.tracing-attributes]
version = "0.1.27"

[dev-dependencies.trybuild]
version = "1.0.81"
features = ["diff"]
