From 902de5bf107ee332527beedf92a8abee946400bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adelar=20da=20Silva=20Queir=C3=B3z?= Date: Fri, 3 Feb 2017 13:33:32 -0200 Subject: [PATCH] Adding feature list on the documentation Adding nightly feature list on the documentation. --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f199fd94..b2d0a47d 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,25 @@ guide. ### Nightly -Rocket requires a nightly version of Rust as it makes heavy use of syntax -extensions. This means that the first two unwieldly lines in the introductory +Rocket requires a nightly version of Rust as it makes heavy use of syntax extensions. + +This means that the first two unwieldly lines in the introductory 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 All of the Rocket libraries are managed by Cargo. As a result, compiling them is