Add template features to contrib doc.

This commit is contained in:
Sergio Benitez 2016-09-22 04:24:04 -07:00
parent f74e286e31
commit d9e8a79ff6
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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;