diff --git a/contrib/src/lib.rs b/contrib/src/lib.rs index 8c84a646..a7c66d89 100644 --- a/contrib/src/lib.rs +++ b/contrib/src/lib.rs @@ -12,7 +12,9 @@ //! common modules exposed by default. The present feature list is below, with //! an asterisk next to the features that are enabled by default: //! -//! * json* +//! * [json*](struct.JSON.html) +//! * [handlebars_templates](struct.Template.html) +//! * [tera_templates](struct.Template.html) //! //! The recommend way to include features from this crate via Cargo in your //! project is by adding a `[dependencies.rocket_contrib]` section to your diff --git a/contrib/src/templates/mod.rs b/contrib/src/templates/mod.rs index 0074be7c..c63f9e73 100644 --- a/contrib/src/templates/mod.rs +++ b/contrib/src/templates/mod.rs @@ -3,10 +3,10 @@ extern crate serde_json; extern crate glob; #[cfg(feature = "tera_templates")] -pub mod tera_templates; +mod tera_templates; #[cfg(feature = "handlebars_templates")] -pub mod handlebars_templates; +mod handlebars_templates; #[macro_use] mod macros;