3 version = "0.2.3" # remember to update html_root_url
4 authors = ["Alex Crichton <alex@alexcrichton.com>"]
5 license = "MIT/Apache-2.0"
8 repository = "https://github.com/alexcrichton/proc-macro2"
9 homepage = "https://github.com/alexcrichton/proc-macro2"
10 documentation = "https://docs.rs/proc-macro2"
12 A stable implementation of the upcoming new `proc_macro` API. Comes with an
13 option, off by default, to also reimplement itself in terms of the upstream
24 # When enabled: act as a shim around the nightly compiler's proc_macro crate.
25 # This requires a nightly compiler.
27 # When disabled: emulate the same API as the nightly compiler's proc_macro crate
28 # but in a way that works on all stable compilers >=1.15.0.
29 nightly = ["proc-macro"]
32 default = ["proc-macro"]