mirror of https://github.com/rwf2/Rocket.git
Adding feature list on the documentation
Adding nightly feature list on the documentation.
This commit is contained in:
parent
aefa2f1494
commit
902de5bf10
19
README.md
19
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue