1 | [package] |
2 | name = "proc-macro-error" |
3 | version = "1.0.4" |
4 | authors = ["CreepySkeleton <creepy-skeleton@yandex.ru>" ] |
5 | description = "Almost drop-in replacement to panics in proc-macros" |
6 | |
7 | repository = "https://gitlab.com/CreepySkeleton/proc-macro-error" |
8 | readme = "README.md" |
9 | keywords = ["proc-macro" , "error" , "errors" ] |
10 | categories = ["development-tools::procedural-macro-helpers" ] |
11 | license = "MIT OR Apache-2.0" |
12 | |
13 | edition = "2018" |
14 | build = "build.rs" |
15 | |
16 | [badges] |
17 | maintenance = { status = "passively-maintained" } |
18 | |
19 | [package.metadata.docs.rs] |
20 | targets = ["x86_64-unknown-linux-gnu" ] |
21 | |
22 | [dependencies] |
23 | quote = "1" |
24 | proc-macro2 = "1" |
25 | proc-macro-error-attr = { path = "./proc-macro-error-attr" , version = "=1.0.4" } |
26 | |
27 | [dependencies.syn] |
28 | version = "1" |
29 | optional = true |
30 | default-features = false |
31 | |
32 | [dev-dependencies] |
33 | test-crate = { path = "./test-crate" } |
34 | proc-macro-hack-test = { path = "./test-crate/proc-macro-hack-test" } |
35 | trybuild = { version = "1.0.19" , features = ["diff" ] } |
36 | toml = "=0.5.2" # DO NOT BUMP |
37 | serde_derive = "=1.0.107" # DO NOT BUMP |
38 | |
39 | [build-dependencies] |
40 | version_check = "0.9" |
41 | |
42 | [features] |
43 | default = ["syn-error" ] |
44 | syn-error = ["syn" ] |
45 | |