90 lines
1.9 KiB
TOML
90 lines
1.9 KiB
TOML
# 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-error3"
|
|
version = "3.0.3"
|
|
authors = [
|
|
"CreepySkeleton <creepy-skeleton@yandex.ru>",
|
|
"GnomedDev <david2005thomas@gmail.com>",
|
|
"gamma0987 <gamma0987@posteo.de>",
|
|
]
|
|
build = false
|
|
autolib = 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/gamma0987/proc-macro-error3"
|
|
|
|
[features]
|
|
__ui_tests = []
|
|
default = ["syn-error"]
|
|
nightly = []
|
|
syn-error = ["dep:syn"]
|
|
|
|
[lib]
|
|
name = "proc_macro_error3"
|
|
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-attr3]
|
|
version = "=3.0.3"
|
|
|
|
[dependencies.proc-macro2]
|
|
version = "1.0.74"
|
|
|
|
[dependencies.quote]
|
|
version = "1.0.35"
|
|
|
|
[dependencies.syn]
|
|
version = ">=2.0.46,<4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.syn]
|
|
version = ">=2.0.46,<4"
|
|
features = ["full"]
|
|
|
|
[dev-dependencies.trybuild]
|
|
version = "1.0.99"
|
|
features = ["diff"]
|
|
|
|
[lints.clippy.module_name_repetitions]
|
|
level = "allow"
|
|
priority = 0
|
|
|
|
[lints.clippy.pedantic]
|
|
level = "warn"
|
|
priority = -1
|