Point all docs and doc links to 'master' branch.

This commit is contained in:
Sergio Benitez 2020-10-21 04:54:24 -07:00
parent 4b4e918a70
commit bbfe2ba5cc
27 changed files with 95 additions and 86 deletions

View File

@ -112,11 +112,13 @@ API documentation is built with `./scripts/mk-docs.sh`. The resulting assets are
uploaded to [api.rocket.rs](https://api.rocket.rs/). uploaded to [api.rocket.rs](https://api.rocket.rs/).
Documentation for a released version `${x}` can be found at Documentation for a released version `${x}` can be found at
`https://api.rocket.rs/v${x}`. For instance, the documentation for `0.4` can be `https://api.rocket.rs/v${x}` and `https://rocket.rs/v${x}`. For instance, the
found at https://api.rocket.rs/v0.4. Documentation for unreleased versions in documentation for `0.4` can be found at https://api.rocket.rs/v0.4 and
branch `${branch}` be found at `https://api.rocket.rs/${branch}`. For instance, https://rocket.rs/v0.4. Documentation for unreleased versions in branch
the documentation for the `master` branch can be found at `${branch}` be found at `https://api.rocket.rs/${branch}` and
https://api.rocket.rs/master. Documentation for unreleased branches is updated `https://rocket.rs/${branch}`. For instance, the documentation for the `master`
branch can be found at https://api.rocket.rs/master and
https://rocket.rs/master. Documentation for unreleased branches is updated
periodically. periodically.
## Contributing ## Contributing

View File

@ -3,7 +3,7 @@ name = "rocket_contrib_codegen"
version = "0.5.0-dev" version = "0.5.0-dev"
authors = ["Sergio Benitez <sb@sergio.bz>"] authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Procedural macros for the Rocket contrib libraries." description = "Procedural macros for the Rocket contrib libraries."
documentation = "https://api.rocket.rs/v0.5/rocket_contrib/" documentation = "https://api.rocket.rs/master/rocket_contrib/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"

View File

@ -3,7 +3,7 @@ name = "rocket_contrib"
version = "0.5.0-dev" version = "0.5.0-dev"
authors = ["Sergio Benitez <sb@sergio.bz>"] authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Community contributed libraries for the Rocket web framework." description = "Community contributed libraries for the Rocket web framework."
documentation = "https://api.rocket.rs/v0.5/rocket_contrib/" documentation = "https://api.rocket.rs/master/rocket_contrib/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"

View File

@ -165,7 +165,7 @@
//! Lastly, databases can be configured via environment variables by specifying //! Lastly, databases can be configured via environment variables by specifying
//! the `databases` table as detailed in the [Environment Variables //! the `databases` table as detailed in the [Environment Variables
//! configuration //! configuration
//! guide](https://rocket.rs/v0.5/guide/configuration/#environment-variables): //! guide](https://rocket.rs/master/guide/configuration/#environment-variables):
//! //!
//! ```bash //! ```bash
//! ROCKET_DATABASES='{my_db={url="db.sqlite"}}' //! ROCKET_DATABASES='{my_db={url="db.sqlite"}}'

View File

@ -4,7 +4,7 @@
//! takes some inspiration from [helmetjs], a similar piece of middleware for //! takes some inspiration from [helmetjs], a similar piece of middleware for
//! [express]. //! [express].
//! //!
//! [fairing]: https://rocket.rs/v0.5/guide/fairings/ //! [fairing]: https://rocket.rs/master/guide/fairings/
//! [helmetjs]: https://helmetjs.github.io/ //! [helmetjs]: https://helmetjs.github.io/
//! [express]: https://expressjs.com //! [express]: https://expressjs.com
//! [`SpaceHelmet`]: helmet::SpaceHelmet //! [`SpaceHelmet`]: helmet::SpaceHelmet

View File

@ -1,4 +1,4 @@
#![doc(html_root_url = "https://api.rocket.rs/v0.5")] #![doc(html_root_url = "https://api.rocket.rs/master")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]

View File

@ -56,7 +56,7 @@
//! template directory is configured via the `template_dir` configuration //! template directory is configured via the `template_dir` configuration
//! parameter and defaults to `templates/`. The path set in `template_dir` is //! parameter and defaults to `templates/`. The path set in `template_dir` is
//! relative to the Rocket configuration file. See the [configuration //! relative to the Rocket configuration file. See the [configuration
//! chapter](https://rocket.rs/v0.5/guide/configuration/#extras) of the guide //! chapter](https://rocket.rs/master/guide/configuration/#extras) of the guide
//! for more information on configuration. //! for more information on configuration.
//! //!
//! The corresponding templating engine used for a given template is based on a //! The corresponding templating engine used for a given template is based on a

View File

@ -3,7 +3,7 @@ name = "rocket_codegen"
version = "0.5.0-dev" version = "0.5.0-dev"
authors = ["Sergio Benitez <sb@sergio.bz>"] authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Procedural macros for the Rocket web framework." description = "Procedural macros for the Rocket web framework."
documentation = "https://api.rocket.rs/v0.5/rocket_codegen/" documentation = "https://api.rocket.rs/master/rocket_codegen/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"

View File

@ -1,6 +1,6 @@
#![recursion_limit="128"] #![recursion_limit="128"]
#![doc(html_root_url = "https://api.rocket.rs/v0.5")] #![doc(html_root_url = "https://api.rocket.rs/master")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]
@ -11,7 +11,7 @@
//! This crate implements the code generation portions of Rocket. This includes //! This crate implements the code generation portions of Rocket. This includes
//! custom derives, custom attributes, and procedural macros. The documentation //! custom derives, custom attributes, and procedural macros. The documentation
//! here is purely technical. The code generation facilities are documented //! here is purely technical. The code generation facilities are documented
//! thoroughly in the [Rocket programming guide](https://rocket.rs/v0.5/guide). //! thoroughly in the [Rocket programming guide](https://rocket.rs/master/guide).
//! //!
//! # Usage //! # Usage
//! //!

View File

@ -5,7 +5,7 @@ authors = ["Sergio Benitez <sb@sergio.bz>"]
description = """ description = """
Types, traits, and parsers for HTTP requests, responses, and headers. Types, traits, and parsers for HTTP requests, responses, and headers.
""" """
documentation = "https://api.rocket.rs/v0.5/rocket_http/" documentation = "https://api.rocket.rs/master/rocket_http/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"

View File

@ -5,7 +5,7 @@ authors = ["Sergio Benitez <sb@sergio.bz>"]
description = """ description = """
Web framework with a focus on usability, security, extensibility, and speed. Web framework with a focus on usability, security, extensibility, and speed.
""" """
documentation = "https://api.rocket.rs/v0.5/rocket/" documentation = "https://api.rocket.rs/master/rocket/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"

View File

@ -14,7 +14,7 @@ use crate::data::Limits;
/// See the [module level docs](crate::config) as well as the [configuration /// See the [module level docs](crate::config) as well as the [configuration
/// guide] for further details. /// guide] for further details.
/// ///
/// [configuration guide]: https://rocket.rs/v0.5/guide/configuration/ /// [configuration guide]: https://rocket.rs/master/guide/configuration/
/// ///
/// # Defaults /// # Defaults
/// ///

View File

@ -2,7 +2,7 @@
//! //!
//! See the [configuration guide] for full details. //! See the [configuration guide] for full details.
//! //!
//! [configuration guide]: https://rocket.rs/v0.5/guide/configuration/ //! [configuration guide]: https://rocket.rs/master/guide/configuration/
//! //!
//! ## Extracting Configuration Parameters //! ## Extracting Configuration Parameters
//! //!

View File

@ -40,8 +40,8 @@ enum Kind {
/// # */ /// # */
/// ``` /// ```
/// ///
/// [private cookies]: https://rocket.rs/v0.5/guide/requests/#private-cookies /// [private cookies]: https://rocket.rs/master/guide/requests/#private-cookies
/// [configuration guide]: https://rocket.rs/v0.5/guide/configuration/#secret-key /// [configuration guide]: https://rocket.rs/master/guide/configuration/#secret-key
#[derive(PartialEq, Clone)] #[derive(PartialEq, Clone)]
pub struct SecretKey { pub struct SecretKey {
key: Key, key: Key,

View File

@ -365,7 +365,7 @@ pub use self::info_kind::{Info, Kind};
/// } /// }
/// ``` /// ```
/// ///
/// [request-local state]: https://rocket.rs/v0.5/guide/state/#request-local-state /// [request-local state]: https://rocket.rs/master/guide/state/#request-local-state
#[crate::async_trait] #[crate::async_trait]
pub trait Fairing: Send + Sync + 'static { pub trait Fairing: Send + Sync + 'static {
/// Returns an [`Info`] structure containing the `name` and [`Kind`] of this /// Returns an [`Info`] structure containing the `name` and [`Kind`] of this

View File

@ -1,6 +1,6 @@
#![recursion_limit="256"] #![recursion_limit="256"]
#![doc(html_root_url = "https://api.rocket.rs/v0.5")] #![doc(html_root_url = "https://api.rocket.rs/master")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]
#![cfg_attr(nightly, feature(doc_cfg))] #![cfg_attr(nightly, feature(doc_cfg))]
@ -21,10 +21,10 @@
//! automatic JSON (de)serialiazation, templating support, static file serving, //! automatic JSON (de)serialiazation, templating support, static file serving,
//! and other useful features. //! and other useful features.
//! //!
//! [overview]: https://rocket.rs/v0.5/overview //! [overview]: https://rocket.rs/master/overview
//! [full, detailed guide]: https://rocket.rs/v0.5/guide //! [full, detailed guide]: https://rocket.rs/master/guide
//! [quickstart]: https://rocket.rs/v0.5/guide/quickstart //! [quickstart]: https://rocket.rs/master/guide/quickstart
//! [getting started]: https://rocket.rs/v0.5/guide/getting-started //! [getting started]: https://rocket.rs/master/guide/getting-started
//! //!
//! ## Libraries //! ## Libraries
//! //!
@ -43,7 +43,7 @@
//! rocket = "0.5.0-dev" //! rocket = "0.5.0-dev"
//! ``` //! ```
//! //!
//! See the [guide](https://rocket.rs/v0.5/guide) for more information on how to //! See the [guide](https://rocket.rs/master/guide) for more information on how to
//! write Rocket applications. Here's a simple example to get you started: //! write Rocket applications. Here's a simple example to get you started:
//! //!
//! ```rust,no_run //! ```rust,no_run
@ -74,8 +74,8 @@
//! rocket = { version = "0.5.0-dev", features = ["secrets", "tls"] } //! rocket = { version = "0.5.0-dev", features = ["secrets", "tls"] }
//! ``` //! ```
//! //!
//! [private cookies]: https://rocket.rs/v0.5/guide/requests/#private-cookies //! [private cookies]: https://rocket.rs/master/guide/requests/#private-cookies
//! [TLS]: https://rocket.rs/v0.5/guide/configuration/#tls //! [TLS]: https://rocket.rs/master/guide/configuration/#tls
//! //!
//! ## Configuration //! ## Configuration
//! //!
@ -84,7 +84,7 @@
//! configure Rocket, see the [configuration section] of the guide as well as //! configure Rocket, see the [configuration section] of the guide as well as
//! the [`config`] module documentation. //! the [`config`] module documentation.
//! //!
//! [configuration section]: https://rocket.rs/v0.5/guide/configuration/ //! [configuration section]: https://rocket.rs/master/guide/configuration/
//! //!
//! ## Testing //! ## Testing
//! //!
@ -93,7 +93,7 @@
//! documentation and the [testing chapter of the guide] include detailed //! documentation and the [testing chapter of the guide] include detailed
//! examples. //! examples.
//! //!
//! [testing chapter of the guide]: https://rocket.rs/v0.5/guide/testing/#testing //! [testing chapter of the guide]: https://rocket.rs/master/guide/testing/#testing
#[allow(unused_imports)] #[macro_use] extern crate rocket_codegen; #[allow(unused_imports)] #[macro_use] extern crate rocket_codegen;
pub use rocket_codegen::*; pub use rocket_codegen::*;

View File

@ -80,7 +80,7 @@
//! //!
//! For more details on testing, see the [testing guide]. //! For more details on testing, see the [testing guide].
//! //!
//! [testing guide]: https://rocket.rs/v0.5/guide/testing/ //! [testing guide]: https://rocket.rs/master/guide/testing/
//! [`Client`]: crate::local::asynchronous::Client //! [`Client`]: crate::local::asynchronous::Client
//! //!
//! # `Client` //! # `Client`

View File

@ -369,7 +369,7 @@ impl<S, E> IntoOutcome<S, (Status, E), ()> for Result<S, E> {
/// Notice that these request guards provide access to *borrowed* data (`&'a /// Notice that these request guards provide access to *borrowed* data (`&'a
/// User` and `Admin<'a>`) as the data is now owned by the request's cache. /// User` and `Admin<'a>`) as the data is now owned by the request's cache.
/// ///
/// [request-local state]: https://rocket.rs/v0.5/guide/state/#request-local-state /// [request-local state]: https://rocket.rs/master/guide/state/#request-local-state
#[crate::async_trait] #[crate::async_trait]
pub trait FromRequest<'a, 'r>: Sized { pub trait FromRequest<'a, 'r>: Sized {
/// The associated error to be returned if derivation fails. /// The associated error to be returned if derivation fails.

View File

@ -1,40 +1,41 @@
#! /usr/bin/env bash #! /usr/bin/env bash
# #
# Bumps the version number from <current> to <next> on all libraries. # Bumps the version number to ${1}.
# #
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${SCRIPT_DIR}/config.sh" source "${SCRIPT_DIR}/config.sh"
if [ -z "${1}" ] || [ -z "${2}" ]; then if [ -z "${1}" ] ; then
echo "Usage: $0 <current> <next>" echo "Usage: $0 <new-version>"
echo "Example: $0 0.1.1 0.1.2" echo "Example: $0 0.6.1"
exit 1 exit 1
fi fi
if ! git grep -c "${1}" > /dev/null; then function do_replace_docs() {
echo "The version '${1}' doesn't appear to be correct." sd "${1}" "${2}" $(fd -t f -e toml -E '/news/*' . "${PROJECT_ROOT}")
echo "Exiting." sd "${1}" "${2}" $(fd -t f -e md -E '/news/*' . "${SITE_ROOT}")
exit 1 }
function do_replace_all() {
sd "${1}" "${2}" $(fd -t f -e rs . "${PROJECT_ROOT}")
do_replace_docs "${1}" "${2}"
}
NEW_VERSION="${1}"
TODAY=$(date "+%b %d, %Y")
if $PRE_RELEASE; then
do_replace_all "/${PHYSICAL_CODENAME}" "/${CODENAME}"
do_replace_docs "${PHYSICAL_CODENAME}" "${CODENAME}"
else
NEW_CODENAME="v$(echo "${NEW_VERSION}" | cut -d'.' -f1-2)"
do_replace_all "/${VIRTUAL_CODENAME}" "/${CODENAME}"
do_replace_all "/${CODENAME}" "/${NEW_CODENAME}"
do_replace_docs "${VIRTUAL_CODENAME}" "${CODENAME}"
do_replace_docs "${CODENAME}" "${NEW_CODENAME}"
fi fi
function major() { do_replace_all "${VERSION}" "${NEW_VERSION}"
echo "${1}" | cut -d'.' -f1-2 sd "^date.*" "date = \"${TODAY}\"" "${SITE_ROOT}/index.toml"
}
function do_replace() {
find "${PROJECT_ROOT}" -name "*.rs" | xargs sed -i.bak "s/${1}/${2}/g"
find "${PROJECT_ROOT}" -name "*.toml" -not -path "*/news/*" | xargs sed -i.bak "s/${1}/${2}/g"
find "${SITE_ROOT}" -name "*.md" -not -path "*/news/*" | xargs sed -i.bak "s/${1}/${2}/g"
sed -i.bak "s/${1}/${2}/g" "${SCRIPT_DIR}/config.sh"
sed -i.bak "s/${1}/${2}/g" "${PROJECT_ROOT}/README.md"
}
do_replace "v$(major ${1})" "v$(major ${2})"
do_replace "${1}" "${2}"
today=$(date "+%b %d, %Y")
sed -i.bak "s/^date.*/date = \"$today\"/" "${SITE_ROOT}/index.toml"
find ${PROJECT_ROOT} -name "*.bak" | xargs rm

View File

@ -35,22 +35,6 @@ function future_date() {
fi fi
} }
# Versioning information. These are toggled as versions change.
CURRENT_RELEASE=false
PRE_RELEASE=true
# A generated codename for this version. Use the git branch for pre-releases.
case $PRE_RELEASE in
true)
VERSION_CODENAME="$(git branch --show-current)"
ROCKET_VERSION="${VERSION_CODENAME}-$(future_date)"
;;
false)
ROCKET_VERSION="0.5.0-dev"
VERSION_CODENAME="$(echo "v${ROCKET_VERSION}" | cut -d'.' -f1-2)"
;;
esac
# Root of workspace-like directories. # Root of workspace-like directories.
PROJECT_ROOT=$(relative "") || exit $? PROJECT_ROOT=$(relative "") || exit $?
CORE_ROOT=$(relative "core") || exit $? CORE_ROOT=$(relative "core") || exit $?
@ -68,6 +52,26 @@ CONTRIB_CODEGEN_ROOT=$(relative "contrib/codegen") || exit $?
EXAMPLES_DIR=$(relative "examples") || exit $? EXAMPLES_DIR=$(relative "examples") || exit $?
DOC_DIR=$(relative "target/doc") || exit $? DOC_DIR=$(relative "target/doc") || exit $?
# Versioning information. These are changed as versions change.
VERSION=$(git grep -h "^version" "${CORE_LIB_ROOT}" | head -n 1 | cut -d '"' -f2)
MAJOR_VERSION=$(echo "${VERSION}" | cut -d'.' -f1-2)
VIRTUAL_CODENAME="$(git branch --show-current)"
PHYSICAL_CODENAME="v${MAJOR_VERSION}"
CURRENT_RELEASE=false
PRE_RELEASE=true
# A generated codename for this version. Use the git branch for pre-releases.
case $PRE_RELEASE in
true)
CODENAME="${VIRTUAL_CODENAME}"
DOC_VERSION="${CODENAME}-$(future_date)"
;;
false)
CODENAME="${PHYSICAL_CODENAME}"
DOC_VERSION="${VERSION}"
;;
esac
ALL_PROJECT_DIRS=( ALL_PROJECT_DIRS=(
"${CORE_HTTP_ROOT}" "${CORE_HTTP_ROOT}"
"${CORE_CODEGEN_ROOT}" "${CORE_CODEGEN_ROOT}"
@ -77,10 +81,12 @@ ALL_PROJECT_DIRS=(
) )
function print_environment() { function print_environment() {
echo " ROCKET_VERSION: ${ROCKET_VERSION}" echo " VERSION: ${VERSION}"
echo " MAJOR_VERSION: ${MAJOR_VERSION}"
echo " CODENAME: ${CODENAME}"
echo " DOC_VERSION: ${DOC_VERSION}"
echo " CURRENT_RELEASE: ${CURRENT_RELEASE}" echo " CURRENT_RELEASE: ${CURRENT_RELEASE}"
echo " PRE_RELEASE: ${PRE_RELEASE}" echo " PRE_RELEASE: ${PRE_RELEASE}"
echo " VERSION_CODENAME: ${VERSION_CODENAME}"
echo " SCRIPT_DIR: ${SCRIPT_DIR}" echo " SCRIPT_DIR: ${SCRIPT_DIR}"
echo " PROJECT_ROOT: ${PROJECT_ROOT}" echo " PROJECT_ROOT: ${PROJECT_ROOT}"
echo " CORE_ROOT: ${CORE_ROOT}" echo " CORE_ROOT: ${CORE_ROOT}"

View File

@ -19,7 +19,7 @@ fi
# Generate the rustdocs for all of the crates. # Generate the rustdocs for all of the crates.
echo ":::: Generating the docs..." echo ":::: Generating the docs..."
pushd "${PROJECT_ROOT}" > /dev/null 2>&1 pushd "${PROJECT_ROOT}" > /dev/null 2>&1
RUSTDOCFLAGS="-Z unstable-options --crate-version ${ROCKET_VERSION}" \ RUSTDOCFLAGS="-Z unstable-options --crate-version ${DOC_VERSION}" \
cargo doc -p rocket -p rocket_contrib --no-deps --all-features cargo doc -p rocket -p rocket_contrib --no-deps --all-features
popd > /dev/null 2>&1 popd > /dev/null 2>&1

View File

@ -13,7 +13,7 @@ This directory contains the following:
* `news/*.md` - News articles linked to from `news/index.toml`. * `news/*.md` - News articles linked to from `news/index.toml`.
* `guide/*.md` - Guide pages linked to from `guide.md`. * `guide/*.md` - Guide pages linked to from `guide.md`.
[Rocket Programming Guide]: https://rocket.rs/v0.5/guide/ [Rocket Programming Guide]: https://rocket.rs/master/guide/
### Guide Links ### Guide Links

View File

@ -14,7 +14,7 @@ For instance, the following set of commands runs the `hello_world` example:
```sh ```sh
git clone https://github.com/SergioBenitez/Rocket git clone https://github.com/SergioBenitez/Rocket
cd Rocket cd Rocket
git checkout v0.5.0-dev git checkout master
cd examples/hello_world cd examples/hello_world
cargo run cargo run
``` ```

View File

@ -200,8 +200,8 @@ You can find async-ready libraries on [crates.io](https://crates.io) with the
! note ! note
Rocket 0.5 uses the tokio (0.2) runtime. The runtime is started for you if you Rocket master uses the tokio (0.2) runtime. The runtime is started for you if
use `#[launch]` or `#[rocket::main]`, but you can still `launch()` a you use `#[launch]` or `#[rocket::main]`, but you can still `launch()` a
rocket instance on a custom-built `Runtime`. rocket instance on a custom-built `Runtime`.
### Cooperative Multitasking ### Cooperative Multitasking

View File

@ -111,7 +111,7 @@ generated by `Status` for these and other codes:
| 100, [200, 205] | Empty with given status. | | 100, [200, 205] | Empty with given status. |
| All others. | Invalid. Errors to `500` catcher. | | All others. | Invalid. Errors to `500` catcher. |
[`Status`]: https://api.rocket.rs/v0.5/rocket/http/struct.Status.html [`Status`]: https://api.rocket.rs/master/rocket/http/struct.Status.html
## Custom Responders ## Custom Responders

View File

@ -2,7 +2,7 @@
Welcome to Rocket! Welcome to Rocket!
This is the official guide for Rocket v0.5. It is designed to serve as a This is the official guide for Rocket master. It is designed to serve as a
starting point to writing web applications with Rocket and Rust. The guide is starting point to writing web applications with Rocket and Rust. The guide is
also designed to be a reference for experienced Rocket developers. This guide is also designed to be a reference for experienced Rocket developers. This guide is
conversational in tone. For purely technical documentation with examples, see conversational in tone. For purely technical documentation with examples, see

View File

@ -4,7 +4,7 @@
[release] [release]
version = "0.5.0-dev" version = "0.5.0-dev"
date = "May 13, 2019" date = "Oct 21, 2020"
############################################################################### ###############################################################################
# Top features: displayed in the header under the introductory text. # Top features: displayed in the header under the introductory text.