mirror of https://github.com/rwf2/Rocket.git
a019f0d1f3
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>'. |
||
---|---|---|
.. | ||
guide | ||
news | ||
LICENSE | ||
README.md | ||
guide.md | ||
index.toml | ||
news.toml | ||
overview.toml |
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 fromnews.toml
.guide/*.md
- Guide pages linked to fromguide.md
.
Guide Links
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.