# 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 = "2024"
rust-version = "1.85.1"
name = "proc_macro2_diagnostic"
version = "0.6.6"
authors = ["Mike Foster <https://github.com/MusicalNinjaDad>"]
build = "build.rs"
exclude = [
    ".github",
    ".devcontainer",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Use `Diagnostic` compiler messages from proc_macro2 code with Result-like syntax."
homepage = "https://github.com/MusicalNinjaDad/proc_macro2_diagnostic"
readme = "README.md"
keywords = [
    "proc_macro2",
    "Diagnostic",
    "Try",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/MusicalNinjaDad/proc_macro2_diagnostic"

[lib]
name = "proc_macro2_diagnostic"
path = "src/lib.rs"

[[test]]
name = "test_compilation"
path = "tests/test_compilation.rs"

[dependencies.proc-macro2]
version = "1.0.106"
features = ["span-locations"]

[dependencies.syn]
version = "2.0.118"

[dependencies.try_v2_traits]
version = "0.9.1"

[dev-dependencies.quote]
version = "1.0.46"

[dev-dependencies.trybuild]
version = "1.0.117"

[build-dependencies.autocfg]
version = "1.5.0"

[build-dependencies.ninja-build_rs]
version = "0.2.1"
