2024-04-02 11:52:52 +00:00
|
|
|
# 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.
|
|
|
|
|
2017-05-20 00:51:59 +00:00
|
|
|
[package]
|
2024-04-02 11:52:52 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2019-08-13 16:00:51 +00:00
|
|
|
name = "proc-macro2"
|
2024-04-02 11:52:52 +00:00
|
|
|
version = "1.0.76"
|
|
|
|
authors = [
|
|
|
|
"David Tolnay <dtolnay@gmail.com>",
|
|
|
|
"Alex Crichton <alex@alexcrichton.com>",
|
|
|
|
]
|
2021-12-26 21:18:07 +00:00
|
|
|
autobenches = false
|
2022-08-01 02:21:45 +00:00
|
|
|
description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case."
|
2022-08-01 02:19:04 +00:00
|
|
|
documentation = "https://docs.rs/proc-macro2"
|
2024-04-02 11:52:52 +00:00
|
|
|
readme = "README.md"
|
|
|
|
keywords = [
|
|
|
|
"macros",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
categories = ["development-tools::procedural-macro-helpers"]
|
2022-08-01 02:19:04 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/dtolnay/proc-macro2"
|
2019-07-19 18:46:51 +00:00
|
|
|
|
2018-06-04 07:55:42 +00:00
|
|
|
[package.metadata.docs.rs]
|
2024-04-02 11:52:52 +00:00
|
|
|
rustc-args = [
|
|
|
|
"--cfg",
|
|
|
|
"procmacro2_semver_exempt",
|
|
|
|
]
|
|
|
|
rustdoc-args = [
|
|
|
|
"--cfg",
|
|
|
|
"procmacro2_semver_exempt",
|
|
|
|
"--cfg",
|
|
|
|
"doc_cfg",
|
|
|
|
"--generate-link-to-definition",
|
|
|
|
]
|
2020-03-17 20:35:03 +00:00
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
2018-06-04 07:55:42 +00:00
|
|
|
|
2020-03-30 18:02:28 +00:00
|
|
|
[package.metadata.playground]
|
|
|
|
features = ["span-locations"]
|
|
|
|
|
2024-04-02 11:52:52 +00:00
|
|
|
[lib]
|
|
|
|
doc-scrape-examples = false
|
2018-08-07 07:22:29 +00:00
|
|
|
|
2024-04-02 11:52:52 +00:00
|
|
|
[dependencies.unicode-ident]
|
|
|
|
version = "1.0"
|
2019-01-28 20:22:11 +00:00
|
|
|
|
2024-04-02 11:52:52 +00:00
|
|
|
[dev-dependencies.quote]
|
|
|
|
version = "1.0"
|
|
|
|
default_features = false
|
2024-04-02 03:32:41 +00:00
|
|
|
|
2024-04-02 11:52:52 +00:00
|
|
|
[dev-dependencies.rustversion]
|
|
|
|
version = "1"
|
2024-04-02 03:32:41 +00:00
|
|
|
|
2024-04-02 11:52:52 +00:00
|
|
|
[features]
|
|
|
|
default = ["proc-macro"]
|
2024-04-02 03:32:41 +00:00
|
|
|
nightly = []
|
2024-04-02 11:52:52 +00:00
|
|
|
proc-macro = []
|
|
|
|
span-locations = []
|