edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiBff99ad6Tahinli6 days ago1055 commits
| 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2021" |
| 14 | rust-version = "1.61" |
| 15 | name = "proc-macro-error2" |
| 16 | version = "2.0.1" |
| 17 | authors = [ |
| 18 | "CreepySkeleton <creepy-skeleton@yandex.ru>", |
| 19 | "GnomedDev <david2005thomas@gmail.com>", |
| 20 | ] |
| 21 | build = false |
| 22 | autobins = false |
| 23 | autoexamples = false |
| 24 | autotests = false |
| 25 | autobenches = false |
| 26 | description = "Almost drop-in replacement to panics in proc-macros" |
| 27 | readme = "README.md" |
| 28 | keywords = [ |
| 29 | "proc-macro", |
| 30 | "error", |
| 31 | "errors", |
| 32 | ] |
| 33 | categories = ["development-tools::procedural-macro-helpers"] |
| 34 | license = "MIT OR Apache-2.0" |
| 35 | repository = "https://github.com/GnomedDev/proc-macro-error-2" |
| 36 | |
| 37 | [lib] |
| 38 | name = "proc_macro_error2" |
| 39 | path = "src/lib.rs" |
| 40 | |
| 41 | [[test]] |
| 42 | name = "macro-errors" |
| 43 | path = "tests/macro-errors.rs" |
| 44 | |
| 45 | [[test]] |
| 46 | name = "ok" |
| 47 | path = "tests/ok.rs" |
| 48 | |
| 49 | [[test]] |
| 50 | name = "runtime-errors" |
| 51 | path = "tests/runtime-errors.rs" |
| 52 | |
| 53 | [dependencies.proc-macro-error-attr2] |
| 54 | version = "=2.0.0" |
| 55 | |
| 56 | [dependencies.proc-macro2] |
| 57 | version = "1" |
| 58 | |
| 59 | [dependencies.quote] |
| 60 | version = "1" |
| 61 | |
| 62 | [dependencies.syn] |
| 63 | version = "2" |
| 64 | optional = true |
| 65 | default-features = false |
| 66 | |
| 67 | [dev-dependencies.syn] |
| 68 | version = "2" |
| 69 | features = ["full"] |
| 70 | |
| 71 | [dev-dependencies.trybuild] |
| 72 | version = "1.0.99" |
| 73 | features = ["diff"] |
| 74 | |
| 75 | [features] |
| 76 | default = ["syn-error"] |
| 77 | nightly = [] |
| 78 | syn-error = ["dep:syn"] |
| 79 | |
| 80 | [lints.clippy.module_name_repetitions] |
| 81 | level = "allow" |
| 82 | priority = 0 |
| 83 | |
| 84 | [lints.clippy.pedantic] |
| 85 | level = "warn" |
| 86 | priority = -1 |
| 87 | |
| 88 | [lints.rust.unexpected_cfgs] |
| 89 | level = "warn" |
| 90 | priority = 0 |
| 91 | check-cfg = ["cfg(run_ui_tests)"] |