commit | 6576064b180f57a2b982686b2de101e070c18a73 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:22:16 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:22:16 2016 -0700 |
tree | aa3adb3c7ffb31ca3ba2ff72bf3620960bb79e63 | |
parent | 66daf7471bb63380d39d914e4b352296ca899d41 [diff] |
Release 0.4.0
Parse Rust structs and enums without a Syntex dependency, intended for use with Macros 1.1.
[dependencies] syn = "0.3"
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.