Add unstable build ability
diff --git a/src/lib.rs b/src/lib.rs
index 67cdbe6..54cebd8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,7 @@
extern crate proc_macro;
#[macro_use]
+#[cfg(feature = "stable")]
extern crate synom;
use std::fmt;
@@ -9,6 +10,10 @@
use std::iter::FromIterator;
#[path = "stable.rs"]
+#[cfg(feature = "stable")]
+mod imp;
+#[path = "unstable.rs"]
+#[cfg(not(feature = "stable"))]
mod imp;
#[derive(Clone)]
diff --git a/src/unstable.rs b/src/unstable.rs
new file mode 100644
index 0000000..08b2d68
--- /dev/null
+++ b/src/unstable.rs
@@ -0,0 +1 @@
+pub use proc_macro::*;