diff --git a/schemars/src/lib.rs b/schemars/src/lib.rs index fa545d9..0aad758 100644 --- a/schemars/src/lib.rs +++ b/schemars/src/lib.rs @@ -231,6 +231,8 @@ pub mod gen; /// JSON Schema types. pub mod schema; +#[cfg(feature = "schemars_derive")] +extern crate schemars_derive; #[cfg(feature = "schemars_derive")] pub use schemars_derive::*;