commit | e0aa55a0a4fdd00a2d0d755584eaf309b130e548 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Oct 02 14:55:23 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Oct 02 14:55:23 2016 -0700 |
tree | 89f090421cc95e0a19a6a566bcd586b36b2182d1 | |
parent | 89e0567333d3f87a41e356aea39d874f254119f5 [diff] [blame] |
Move cfg gates to lib.rs
diff --git a/src/lib.rs b/src/lib.rs index 6814c98..85c3593 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -11,9 +11,11 @@ #[macro_use] mod nom; +#[cfg(feature = "parsing")] #[macro_use] mod helper; +#[cfg(feature = "parsing")] mod escape; mod attr; @@ -128,6 +130,7 @@ MacroInput, }; +#[cfg(feature = "parsing")] mod space; mod ty;