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