forked from CreepySkeleton/proc-macro-error
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
41 lines (35 loc) · 1.07 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
[package]
name = "proc-macro-error2"
authors = [
"CreepySkeleton <creepy-skeleton@yandex.ru>",
"GnomedDev <david2005thomas@gmail.com>",
]
version = "2.0.1"
description = "Almost drop-in replacement to panics in proc-macros"
repository = "/~https://github.com/GnomedDev/proc-macro-error-2"
rust-version = "1.61"
keywords = ["proc-macro", "error", "errors"]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT OR Apache-2.0"
edition = "2021"
[dependencies]
quote = "1"
proc-macro2 = "1"
proc-macro-error-attr2 = { path = "./proc-macro-error-attr", version = "=2.0.0" }
[dependencies.syn]
version = "2"
optional = true
default-features = false
[dev-dependencies]
test-crate = { path = "./test-crate" }
syn = { version = "2", features = ["full"] }
trybuild = { version = "1.0.99", features = ["diff"] }
[features]
default = ["syn-error"]
syn-error = ["dep:syn"]
nightly = []
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(run_ui_tests)'] }
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = { level = "allow" }