commit | 9e801303d0b54cfae85e1750933032b6c84fb31a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:30:29 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:31:30 2016 -0700 |
tree | 7e7e6066ba0267dd989ef34f53975f11d1c13656 | |
parent | 2923037058307a8036dce6211fe66ed59a085e74 [diff] |
Add Travis build
Parse Rust structs and enums without a Syntex dependency, intended for use with Macros 1.1.
[dependencies] syn = "0.4"
extern crate syn; let raw = " #[derive(Debug, Clone, Eq, PartialEq)] pub struct Item { pub ident: Ident, pub vis: Visibility, pub attrs: Vec<Attribute>, pub generics: Generics, pub body: Body, } "; let ast = syn::parse_item(raw);
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.