commit | a09760892eed0e27fb94ebe4331ad5344515056b | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:24:28 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:24:28 2016 -0700 |
tree | 26b6c0653d90071df57a57aa762abd18d1935780 | |
parent | 19229c0a18577550ad27e6f90a06d9cfe23c300a [diff] |
Fix crate name in readme
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.