• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.56"
15name = "async-trait"
16version = "0.1.88"
17authors = ["David Tolnay <dtolnay@gmail.com>"]
18build = false
19exclude = ["build.rs"]
20autolib = false
21autobins = false
22autoexamples = false
23autotests = false
24autobenches = false
25description = "Type erasure for async trait methods"
26documentation = "https://docs.rs/async-trait"
27readme = "README.md"
28keywords = ["async"]
29categories = [
30    "asynchronous",
31    "no-std",
32]
33license = "MIT OR Apache-2.0"
34repository = "https://github.com/dtolnay/async-trait"
35
36[package.metadata.docs.rs]
37rustdoc-args = [
38    "--generate-link-to-definition",
39    "--extern-html-root-url=core=https://doc.rust-lang.org",
40    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
41    "--extern-html-root-url=std=https://doc.rust-lang.org",
42    "--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
43]
44targets = ["x86_64-unknown-linux-gnu"]
45
46[lib]
47name = "async_trait"
48path = "src/lib.rs"
49proc-macro = true
50
51[[test]]
52name = "compiletest"
53path = "tests/compiletest.rs"
54
55[[test]]
56name = "test"
57path = "tests/test.rs"
58
59[dependencies.proc-macro2]
60version = "1.0.74"
61
62[dependencies.quote]
63version = "1.0.35"
64
65[dependencies.syn]
66version = "2.0.46"
67features = [
68    "clone-impls",
69    "full",
70    "parsing",
71    "printing",
72    "proc-macro",
73    "visit-mut",
74]
75default-features = false
76
77[dev-dependencies.futures]
78version = "0.3.30"
79
80[dev-dependencies.rustversion]
81version = "1.0.13"
82
83[dev-dependencies.tracing]
84version = "0.1.40"
85
86[dev-dependencies.tracing-attributes]
87version = "0.1.27"
88
89[dev-dependencies.trybuild]
90version = "1.0.81"
91features = ["diff"]
92