Rocket/site
Sergio Benitez a019f0d1f3 Use new 'JsonValue' type as return type of 'json!'.
Prior to this commit, a 'json!' invocation returned a value of type
'Value' from 'serde_json'. Because 'Value' does not implement
'Responder', most uses of 'json!' were wrapped in 'Json':
'Json(json!(..))`. By returning a crate-local 'JsonValue' type that
implements 'Responder', this repetition is resolved, and a 'json!' can
appear unwrapped.

This commit also removes the reexport of 'Value' from 'rocket_contrib'
as well as the default type of 'Value' for 'T' in 'Json<T>'.
2017-08-25 23:14:42 -07:00
..
guide Improve commentary on collisions in pastebin example. 2017-08-13 02:56:23 -07:00
news Post-release 0.3 news article updates. 2017-07-15 02:31:20 -07:00
LICENSE Add site contents, including the guide. Add license information. 2017-04-16 21:11:41 -07:00
README.md Remove duplication in site README. 2017-04-16 21:29:15 -07:00
guide.md Various guide updates for 0.3. 2017-07-10 05:05:25 -07:00
index.toml Use new 'JsonValue' type as return type of 'json!'. 2017-08-25 23:14:42 -07:00
news.toml Post-release 0.3 news article updates. 2017-07-15 02:31:20 -07:00
overview.toml Fix typo in site overview: 'Reponder' -> 'Responder'. 2017-08-22 01:53:27 -07:00

README.md

Rocket Website Source

This directory contains the source files for the content on Rocket's website.

Contents

This directory contains the following:

  • index.toml - Source data for the index (/).
  • news.toml - Source data for the news page (/news).
  • overview.toml - Source data for the overview page (/overview).
  • guide.md - Index page for the Rocket Programming Guide (/guide).
  • news/*.md - News articles linked to from news.toml.
  • guide/*.md - Guide pages linked to from guide.md.

Cross-linking to pages in the guide is accomplished via absolute links rooted at /guide/. To link to the page whose source is at guide/page.md, for instance, link to /guide/page.

License

The Rocket website source is licensed under the GNU General Public License v3.0.