Go to file
Alex Crichton 76a5cc8afd Add functions for byte characters and doc comments
Likely to be tweaked when the actual PR lands!
2017-05-23 07:01:44 -07:00
src Add functions for byte characters and doc comments 2017-05-23 07:01:44 -07:00
.gitignore Initial commit 2017-05-19 17:51:59 -07:00
.travis.yml Some extra files 2017-05-19 19:41:03 -07:00
Cargo.toml Initial commit 2017-05-19 17:51:59 -07:00
LICENSE-APACHE Some extra files 2017-05-19 19:41:03 -07:00
LICENSE-MIT Some extra files 2017-05-19 19:41:03 -07:00
README.md Some extra files 2017-05-19 19:41:03 -07:00

proc-macro2

Documentation

A small shim over the proc_macro crate intended to multiplex the current stable interface (as of 2017-05-19) and the upcoming richer interface.

The upcoming support has features like:

  • Span information on tokens
  • No need to go in/out through strings
  • Structured input/output

My hope is that libraries ported to proc_macro2 will be trivial to port to the real proc_macro crate once the support on nightly is stabilize.

This crate is still very much a work in progress

License

proc-macro2 is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.