commit | b79ee96316b1985db99a74a9ee8cebc6471cf699 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 09:39:20 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 09:55:46 2016 -0700 |
tree | bb0b83058e6979b6ddaf337ca143cf344cfc00ab | |
parent | 351ea99c7f78d0b599235c63fab39a23ee7d0f71 [diff] |
Split into modules
Parse Rust structs and enums without a Syntex dependency, intended for use with Macros 1.1.
[dependencies] item = "0.1"
extern crate item; let raw = " #[derive(Debug, Clone)] pub struct Item { pub ident: Ident, pub attrs: Vec<Attribute>, } "; let ast = item::parse(raw).unwrap();
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.