mirror of https://github.com/rwf2/Rocket.git
Add template features to contrib doc.
This commit is contained in:
parent
f74e286e31
commit
d9e8a79ff6
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue