File: Cargo.toml

package info (click to toggle)
rust-proc-macro-error2 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: makefile: 2
file content (91 lines) | stat: -rw-r--r-- 1,915 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.61"
name = "proc-macro-error2"
version = "2.0.1"
authors = [
    "CreepySkeleton <creepy-skeleton@yandex.ru>",
    "GnomedDev <david2005thomas@gmail.com>",
]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Almost drop-in replacement to panics in proc-macros"
readme = "README.md"
keywords = [
    "proc-macro",
    "error",
    "errors",
]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GnomedDev/proc-macro-error-2"

[lib]
name = "proc_macro_error2"
path = "src/lib.rs"

[[test]]
name = "macro-errors"
path = "tests/macro-errors.rs"

[[test]]
name = "ok"
path = "tests/ok.rs"

[[test]]
name = "runtime-errors"
path = "tests/runtime-errors.rs"

[dependencies.proc-macro-error-attr2]
version = "=2.0.0"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
optional = true
default-features = false

[dev-dependencies.syn]
version = "2"
features = ["full"]

[dev-dependencies.trybuild]
version = "1.0.99"
features = ["diff"]

[features]
default = ["syn-error"]
nightly = []
syn-error = ["dep:syn"]

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 0

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(run_ui_tests)"]