Cargo Features

[dependencies]
proc-macro2-impersonated = { version = "0.1.1", default-features = false, features = ["proc-macro", "span-locations", "nightly"] }
default = proc-macro

The proc-macro feature is set by default whenever proc-macro2-impersonated is added without default-features = false somewhere in the dependency tree.

proc-macro default
span-locations

Expose methods Span::start and Span::end which give the line/column location of a token.

nightly

This feature no longer means anything.