| 1 | [package] |
| 2 | name = "proc-macro-error2" |
| 3 | authors = [ |
| 4 | "CreepySkeleton <creepy-skeleton@yandex.ru>" , |
| 5 | "GnomedDev <david2005thomas@gmail.com>" , |
| 6 | ] |
| 7 | version = "2.0.1" |
| 8 | description = "Almost drop-in replacement to panics in proc-macros" |
| 9 | repository = "https://github.com/GnomedDev/proc-macro-error-2" |
| 10 | rust-version = "1.61" |
| 11 | keywords = ["proc-macro" , "error" , "errors" ] |
| 12 | categories = ["development-tools::procedural-macro-helpers" ] |
| 13 | license = "MIT OR Apache-2.0" |
| 14 | edition = "2021" |
| 15 | |
| 16 | [dependencies] |
| 17 | quote = "1" |
| 18 | proc-macro2 = "1" |
| 19 | proc-macro-error-attr2 = { path = "./proc-macro-error-attr" , version = "=2.0.0" } |
| 20 | |
| 21 | [dependencies.syn] |
| 22 | version = "2" |
| 23 | optional = true |
| 24 | default-features = false |
| 25 | |
| 26 | [dev-dependencies] |
| 27 | test-crate = { path = "./test-crate" } |
| 28 | syn = { version = "2" , features = ["full" ] } |
| 29 | trybuild = { version = "1.0.99" , features = ["diff" ] } |
| 30 | |
| 31 | [features] |
| 32 | default = ["syn-error" ] |
| 33 | syn-error = ["dep:syn" ] |
| 34 | nightly = [] |
| 35 | |
| 36 | [lints.rust] |
| 37 | unexpected_cfgs = { level = "warn" , check-cfg = ['cfg(run_ui_tests)' ] } |
| 38 | |
| 39 | [lints.clippy] |
| 40 | pedantic = { level = "warn" , priority = -1 } |
| 41 | module_name_repetitions = { level = "allow" } |
| 42 | |