mirror of https://github.com/rwf2/Rocket.git
Remove 'default-features' from contrib examples.
This commit is contained in:
parent
5a4e66ec43
commit
02d6c4c6f1
|
@ -23,7 +23,6 @@ supports [Handlebars] and [Tera].
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_dyn_templates]
|
[dependencies.rocket_dyn_templates]
|
||||||
version = "0.1.0-dev"
|
version = "0.1.0-dev"
|
||||||
default-features = false
|
|
||||||
features = ["handlebars", "tera"]
|
features = ["handlebars", "tera"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_dyn_templates]
|
//! [dependencies.rocket_dyn_templates]
|
||||||
//! version = "0.1.0-dev"
|
//! version = "0.1.0-dev"
|
||||||
//! default-features = false
|
|
||||||
//! features = ["handlebars", "tera"]
|
//! features = ["handlebars", "tera"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -20,7 +20,6 @@ First, enable the feature corresponding to your database type:
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_sync_db_pools]
|
[dependencies.rocket_sync_db_pools]
|
||||||
version = "0.1.0-dev"
|
version = "0.1.0-dev"
|
||||||
default-features = false
|
|
||||||
features = ["diesel_sqlite_pool"]
|
features = ["diesel_sqlite_pool"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_sync_db_pools]
|
//! [dependencies.rocket_sync_db_pools]
|
||||||
//! version = "0.1.0-dev"
|
//! version = "0.1.0-dev"
|
||||||
//! default-features = false
|
|
||||||
//! features = ["diesel_sqlite_pool"]
|
//! features = ["diesel_sqlite_pool"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Reference in New Issue