[package]
name = "proc_macro"
version = "0.0.0"
edition = "2024"

[dependencies]
std = { path = "../std" }
# Workaround: when documenting this crate rustdoc will try to load crate named
# `core` when resolving doc links. Without this line a different `core` will be
# loaded from sysroot causing duplicate lang items and other similar errors.
core = { path = "../core" }
rustc-literal-escaper = { version = "0.0.7", features = ["rustc-dep-of-std"] }

[features]
default = ["rustc-dep-of-std"]
rustc-dep-of-std = []

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] }
