diff --git a/Cargo.toml b/Cargo.toml index 3cff96d..2a8ced8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,4 +18,6 @@ A macro to generate structures which behave like bitflags. """ [features] +default = ["example_generated"] unstable_testing = [] +example_generated = [] diff --git a/src/lib.rs b/src/lib.rs index 30d291b..d2db5d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -564,6 +564,7 @@ macro_rules! __impl_bitflags { }; } +#[cfg(feature = "example_generated")] pub mod example_generated; #[cfg(test)]