commit | 19229c0a18577550ad27e6f90a06d9cfe23c300a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:23:25 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:23:51 2016 -0700 |
tree | 64e81a57977a6f15b535c6899a953554e18f1580 | |
parent | 6576064b180f57a2b982686b2de101e070c18a73 [diff] |
Update version in readme
Parse Rust structs and enums without a Syntex dependency, intended for use with Macros 1.1.
[dependencies] syn = "0.4"
extern crate item; 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.