commit | b1032664bb4b7e205476887c8aa25c3c903a6023 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed May 31 15:52:28 2017 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed May 31 15:52:38 2017 -0700 |
tree | 39709fb20bcc4d6d2ada251700389db7133f07c4 | |
parent | 2d0cf0bcc36d578f55e3e2a8ea71fb147921ef85 [diff] |
Drop dependency on synom Synom will need to depend on proc-macro2 as it transitions to parsing tokens instead of strings. And all of this code is being removed from synom anyway.
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:
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
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.