Adding feature list on the documentation

Adding nightly feature list on the documentation.
This commit is contained in:
Adelar da Silva Queiróz 2017-02-03 13:33:32 -02:00 committed by GitHub
parent aefa2f1494
commit 902de5bf10
1 changed files with 17 additions and 2 deletions

View File

@ -61,10 +61,25 @@ guide.
### Nightly ### Nightly
Rocket requires a nightly version of Rust as it makes heavy use of syntax Rocket requires a nightly version of Rust as it makes heavy use of syntax extensions.
extensions. This means that the first two unwieldly lines in the introductory
This means that the first two unwieldly lines in the introductory
example above are required. example above are required.
Following there is a list from the
[currently used features](https://github.com/SergioBenitez/Rocket/issues/19#issuecomment-269052006):
```
#![feature(plugin)]
#![feature(custom_derive)]
#![feature(custom_attribute)]
#![feature(specialization)]
#![feature(conservative_impl_trait)]
#![feature(drop_types_in_const)]
#![feature(associated_consts)]
#![feature(const_fn)]
```
### Core, Codegen, and Contrib ### Core, Codegen, and Contrib
All of the Rocket libraries are managed by Cargo. As a result, compiling them is All of the Rocket libraries are managed by Cargo. As a result, compiling them is