1 | [package] |
2 | name = "async-trait" |
3 | version = "0.1.88" |
4 | authors = ["David Tolnay <dtolnay@gmail.com>" ] |
5 | categories = ["asynchronous" , "no-std" ] |
6 | description = "Type erasure for async trait methods" |
7 | documentation = "https://docs.rs/async-trait" |
8 | edition = "2021" |
9 | exclude = ["build.rs" ] |
10 | keywords = ["async" ] |
11 | license = "MIT OR Apache-2.0" |
12 | repository = "https://github.com/dtolnay/async-trait" |
13 | rust-version = "1.56" |
14 | |
15 | [lib] |
16 | proc-macro = true |
17 | |
18 | [dependencies] |
19 | proc-macro2 = "1.0.74" |
20 | quote = "1.0.35" |
21 | syn = { version = "2.0.46" , default-features = false, features = ["clone-impls" , "full" , "parsing" , "printing" , "proc-macro" , "visit-mut" ] } |
22 | |
23 | [dev-dependencies] |
24 | futures = "0.3.30" |
25 | rustversion = "1.0.13" |
26 | tracing = "0.1.40" |
27 | tracing-attributes = "0.1.27" |
28 | trybuild = { version = "1.0.81" , features = ["diff" ] } |
29 | |
30 | [package.metadata.docs.rs] |
31 | targets = ["x86_64-unknown-linux-gnu" ] |
32 | rustdoc-args = [ |
33 | "--generate-link-to-definition" , |
34 | "--extern-html-root-url=core=https://doc.rust-lang.org" , |
35 | "--extern-html-root-url=alloc=https://doc.rust-lang.org" , |
36 | "--extern-html-root-url=std=https://doc.rust-lang.org" , |
37 | "--extern-html-root-url=proc_macro=https://doc.rust-lang.org" , |
38 | ] |
39 | |