# 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 ", "GnomedDev ", ] 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)"]