Cargo Features
standalone-proc-macro2 has no features set by default.
[dependencies]
standalone-proc-macro2 = { version = "0.2.2", features = ["nightly"] }
- nightly
-
When enabled: act as a shim around the nightly compiler's proc_macro crate.
This requires a nightly compiler.
When disabled: emulate the same API as the nightly compiler's proc_macro crate but in a way that works on all stable compilers >=1.15.0.