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] 13edition = "2021" 14rust-version = "1.56" 15name = "proc-macro2" 16version = "1.0.94" 17authors = [ 18 "David Tolnay <dtolnay@gmail.com>", 19 "Alex Crichton <alex@alexcrichton.com>", 20] 21build = "build.rs" 22autolib = false 23autobins = false 24autoexamples = false 25autotests = false 26autobenches = false 27description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case." 28documentation = "https://docs.rs/proc-macro2" 29readme = "README.md" 30keywords = [ 31 "macros", 32 "syn", 33] 34categories = ["development-tools::procedural-macro-helpers"] 35license = "MIT OR Apache-2.0" 36repository = "https://github.com/dtolnay/proc-macro2" 37 38[package.metadata.docs.rs] 39rustc-args = ["--cfg=procmacro2_semver_exempt"] 40rustdoc-args = [ 41 "--cfg=procmacro2_semver_exempt", 42 "--generate-link-to-definition", 43 "--extern-html-root-url=core=https://doc.rust-lang.org", 44 "--extern-html-root-url=alloc=https://doc.rust-lang.org", 45 "--extern-html-root-url=std=https://doc.rust-lang.org", 46 "--extern-html-root-url=proc_macro=https://doc.rust-lang.org", 47] 48targets = ["x86_64-unknown-linux-gnu"] 49 50[package.metadata.playground] 51features = ["span-locations"] 52 53[features] 54default = ["proc-macro"] 55nightly = [] 56proc-macro = [] 57span-locations = [] 58 59[lib] 60name = "proc_macro2" 61path = "src/lib.rs" 62 63[[test]] 64name = "comments" 65path = "tests/comments.rs" 66 67[[test]] 68name = "features" 69path = "tests/features.rs" 70 71[[test]] 72name = "marker" 73path = "tests/marker.rs" 74 75[[test]] 76name = "test" 77path = "tests/test.rs" 78 79[[test]] 80name = "test_fmt" 81path = "tests/test_fmt.rs" 82 83[[test]] 84name = "test_size" 85path = "tests/test_size.rs" 86 87[dependencies.unicode-ident] 88version = "1.0" 89 90[dev-dependencies.flate2] 91version = "1.0" 92 93[dev-dependencies.quote] 94version = "1.0" 95default-features = false 96 97[dev-dependencies.rayon] 98version = "1.0" 99 100[dev-dependencies.rustversion] 101version = "1" 102 103[dev-dependencies.tar] 104version = "0.4" 105