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