Move to 0.6.0-dev on master.

This commit is contained in:
Sergio Benitez 2023-11-18 11:30:50 +01:00
parent aabf856de4
commit 44ac3f1eb6
45 changed files with 79 additions and 79 deletions

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_db_pools.svg [crates.io]: https://img.shields.io/crates/v/rocket_db_pools.svg
[crate]: https://crates.io/crates/rocket_db_pools [crate]: https://crates.io/crates/rocket_db_pools
[docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5/rocket_db_pools [crate docs]: https://api.rocket.rs/master/rocket_db_pools
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions
@ -60,8 +60,8 @@ full usage details.
} }
``` ```
[database driver features]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#supported-drivers [database driver features]: https://api.rocket.rs/master/rocket_db_pools/index.html#supported-drivers
[`Pool`]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#supported-drivers [`Pool`]: https://api.rocket.rs/master/rocket_db_pools/index.html#supported-drivers
[Configure]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#configuration [Configure]: https://api.rocket.rs/master/rocket_db_pools/index.html#configuration
[Derive `Database`]: https://api.rocket.rs/v0.5/rocket_db_pools/derive.Database.html [Derive `Database`]: https://api.rocket.rs/master/rocket_db_pools/derive.Database.html
[`Connection<Type>`]: https://api.rocket.rs/v0.5/rocket_db_pools/struct.Connection.html [`Connection<Type>`]: https://api.rocket.rs/master/rocket_db_pools/struct.Connection.html

View File

@ -29,7 +29,7 @@ diesel_mysql = ["diesel-async/mysql", "diesel-async/deadpool", "diesel", "deadpo
[dependencies.rocket] [dependencies.rocket]
path = "../../../core/lib" path = "../../../core/lib"
version = "0.5.0" version = "0.6.0-dev"
default-features = false default-features = false
[dependencies.rocket_db_pools_codegen] [dependencies.rocket_db_pools_codegen]

View File

@ -8,7 +8,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "0.5.0" //! rocket = "0.6.0-dev"
//! diesel = "2" //! diesel = "2"
//! //!
//! [dependencies.rocket_db_pools] //! [dependencies.rocket_db_pools]

View File

@ -3,7 +3,7 @@ name = "rocket_dyn_templates"
version = "0.1.0" version = "0.1.0"
authors = ["Sergio Benitez <sb@sergio.bz>"] authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Dynamic templating engine integration for Rocket." description = "Dynamic templating engine integration for Rocket."
documentation = "https://api.rocket.rs/v0.5/rocket_dyn_templates/" documentation = "https://api.rocket.rs/master/rocket_dyn_templates/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/dyn_templates" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/dyn_templates"
readme = "README.md" readme = "README.md"
@ -22,7 +22,7 @@ notify = "6"
normpath = "1" normpath = "1"
[dependencies.rocket] [dependencies.rocket]
version = "0.5.0" version = "0.6.0-dev"
path = "../../core/lib" path = "../../core/lib"
default-features = false default-features = false

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_dyn_templates.svg [crates.io]: https://img.shields.io/crates/v/rocket_dyn_templates.svg
[crate]: https://crates.io/crates/rocket_dyn_templates [crate]: https://crates.io/crates/rocket_dyn_templates
[docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5/rocket_dyn_templates [crate docs]: https://api.rocket.rs/master/rocket_dyn_templates
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions

View File

@ -66,7 +66,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) of the guide for more //! chapter](https://rocket.rs/master/guide/configuration) of the guide for more
//! information on configuration. //! 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
@ -132,7 +132,7 @@
//! the templates directory since the previous request. In release builds, //! the templates directory since the previous request. In release builds,
//! template reloading is disabled to improve performance and cannot be enabled. //! template reloading is disabled to improve performance and cannot be enabled.
#![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_dyn_templates")] #![doc(html_root_url = "https://api.rocket.rs/master/rocket_dyn_templates")]
#![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

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_sync_db_pools.svg [crates.io]: https://img.shields.io/crates/v/rocket_sync_db_pools.svg
[crate]: https://crates.io/crates/rocket_sync_db_pools [crate]: https://crates.io/crates/rocket_sync_db_pools
[docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5/rocket_sync_db_pools [crate docs]: https://api.rocket.rs/master/rocket_sync_db_pools
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions

View File

@ -3,7 +3,7 @@ name = "rocket_sync_db_pools"
version = "0.1.0" version = "0.1.0"
authors = ["Sergio Benitez <sb@sergio.bz>"] authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "Rocket async database pooling support for sync database drivers." description = "Rocket async database pooling support for sync database drivers."
repository = "https://github.com/SergioBenitez/Rocket/tree/v0.5/contrib/sync_db_pools" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/sync_db_pools"
readme = "../README.md" readme = "../README.md"
keywords = ["rocket", "framework", "database", "pools"] keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -39,7 +39,7 @@ version = "0.1.0"
path = "../codegen" path = "../codegen"
[dependencies.rocket] [dependencies.rocket]
version = "0.5.0" version = "0.6.0-dev"
path = "../../../core/lib" path = "../../../core/lib"
default-features = false default-features = false

View File

@ -166,7 +166,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"}}'
@ -349,7 +349,7 @@
//! [request guards]: rocket::request::FromRequest //! [request guards]: rocket::request::FromRequest
//! [`Poolable`]: crate::Poolable //! [`Poolable`]: crate::Poolable
#![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_sync_db_pools")] #![doc(html_root_url = "https://api.rocket.rs/master/rocket_sync_db_pools")]
#![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))]

View File

@ -3,7 +3,7 @@ name = "rocket_ws"
version = "0.1.0" version = "0.1.0"
authors = ["Sergio Benitez <sb@sergio.bz>"] authors = ["Sergio Benitez <sb@sergio.bz>"]
description = "WebSocket support for Rocket." description = "WebSocket support for Rocket."
documentation = "https://api.rocket.rs/v0.5/rocket_ws/" documentation = "https://api.rocket.rs/master/rocket_ws/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/ws" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/ws"
readme = "README.md" readme = "README.md"
@ -20,7 +20,7 @@ tungstenite = ["tokio-tungstenite"]
tokio-tungstenite = { version = "0.20", optional = true } tokio-tungstenite = { version = "0.20", optional = true }
[dependencies.rocket] [dependencies.rocket]
version = "0.5.0" version = "0.6.0-dev"
path = "../../core/lib" path = "../../core/lib"
default-features = false default-features = false

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_ws.svg [crates.io]: https://img.shields.io/crates/v/rocket_ws.svg
[crate]: https://crates.io/crates/rocket_ws [crate]: https://crates.io/crates/rocket_ws
[docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5/rocket_ws [crate docs]: https://api.rocket.rs/master/rocket_ws
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions

View File

@ -70,7 +70,7 @@
//! } //! }
//! ``` //! ```
#![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_ws")] #![doc(html_root_url = "https://api.rocket.rs/master/rocket_ws")]
#![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

@ -1,9 +1,9 @@
[package] [package]
name = "rocket_codegen" name = "rocket_codegen"
version = "0.5.0" version = "0.6.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"
@ -21,7 +21,7 @@ quote = "1.0"
syn = { version = "2.0", features = ["full", "visit", "visit-mut", "extra-traits"] } syn = { version = "2.0", features = ["full", "visit", "visit-mut", "extra-traits"] }
proc-macro2 = "1.0.27" proc-macro2 = "1.0.27"
devise = "0.4" devise = "0.4"
rocket_http = { version = "0.5.0", path = "../http/" } rocket_http = { version = "0.6.0-dev", path = "../http/" }
unicode-xid = "0.2" unicode-xid = "0.2"
version_check = "0.9" version_check = "0.9"
glob = "0.3" glob = "0.3"

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
//! //!
@ -21,7 +21,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "0.5.0" //! rocket = "0.6.0-dev"
//! ``` //! ```
//! //!
//! And to import all macros, attributes, and derives via `#[macro_use]` in the //! And to import all macros, attributes, and derives via `#[macro_use]` in the

View File

@ -1,11 +1,11 @@
[package] [package]
name = "rocket_http" name = "rocket_http"
version = "0.5.0" version = "0.6.0-dev"
authors = ["Sergio Benitez <sb@sergio.bz>"] 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

@ -1,11 +1,11 @@
[package] [package]
name = "rocket" name = "rocket"
version = "0.5.0" version = "0.6.0-dev"
authors = ["Sergio Benitez <sb@sergio.bz>"] 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"
@ -61,11 +61,11 @@ tokio-stream = { version = "0.1.6", features = ["signal", "time"] }
state = "0.6" state = "0.6"
[dependencies.rocket_codegen] [dependencies.rocket_codegen]
version = "0.5.0" version = "0.6.0-dev"
path = "../codegen" path = "../codegen"
[dependencies.rocket_http] [dependencies.rocket_http]
version = "0.5.0" version = "0.6.0-dev"
path = "../http" path = "../http"
features = ["serde"] features = ["serde"]

View File

@ -23,7 +23,7 @@ use crate::config::SecretKey;
/// 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

@ -71,8 +71,8 @@ enum Kind {
/// assert!(matches!(error.kind(), ErrorKind::InsecureSecretKey(profile))); /// assert!(matches!(error.kind(), ErrorKind::InsecureSecretKey(profile)));
/// ``` /// ```
/// ///
/// [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(Clone)] #[derive(Clone)]
#[cfg_attr(nightly, doc(cfg(feature = "secrets")))] #[cfg_attr(nightly, doc(cfg(feature = "secrets")))]
pub struct SecretKey { pub struct SecretKey {

View File

@ -310,7 +310,7 @@ impl AdHoc {
/// let response = client.get("/bar").dispatch(); /// let response = client.get("/bar").dispatch();
/// assert_eq!(response.into_string().unwrap(), "bar"); /// assert_eq!(response.into_string().unwrap(), "bar");
/// ``` /// ```
// #[deprecated(since = "0.6", note = "routing from Rocket v0.5 is now standard")] // #[deprecated(since = "0.7", note = "routing from Rocket 0.6 is now standard")]
pub fn uri_normalizer() -> impl Fairing { pub fn uri_normalizer() -> impl Fairing {
#[derive(Default)] #[derive(Default)]
struct Normalizer { struct Normalizer {

View File

@ -423,7 +423,7 @@ pub type Result<T = Rocket<Build>, E = Rocket<Build>> = std::result::Result<T, E
/// } /// }
/// ``` /// ```
/// ///
/// [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 + Any + 'static { pub trait Fairing: Send + Sync + Any + '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

@ -40,7 +40,7 @@ use crate::http::Status;
/// `Context` serializes as a map, so it can be rendered in templates that /// `Context` serializes as a map, so it can be rendered in templates that
/// require `Serialize` types. See the [forms guide] for further usage details. /// require `Serialize` types. See the [forms guide] for further usage details.
/// ///
/// [forms guide]: https://rocket.rs/v0.5/guide/requests/#context /// [forms guide]: https://rocket.rs/master/guide/requests/#context
#[derive(Debug)] #[derive(Debug)]
pub struct Contextual<'v, T> { pub struct Contextual<'v, T> {
/// The value, if it was successfully parsed, or `None` otherwise. /// The value, if it was successfully parsed, or `None` otherwise.

View File

@ -12,7 +12,7 @@ use crate::form::prelude::*;
/// This type implements the [`FromData`] trait. It provides a generic means to /// This type implements the [`FromData`] trait. It provides a generic means to
/// parse arbitrary structures from incoming form data. /// parse arbitrary structures from incoming form data.
/// ///
/// See the [forms guide](https://rocket.rs/v0.5/guide/requests#forms) for /// See the [forms guide](https://rocket.rs/master/guide/requests#forms) for
/// general form support documentation. /// general form support documentation.
/// ///
/// # Leniency /// # Leniency

View File

@ -65,7 +65,7 @@ use crate::http::uncased::AsUncased;
/// [FromFormField]: crate::form::FromFormField /// [FromFormField]: crate::form::FromFormField
/// [`shift()`ed]: NameView::shift() /// [`shift()`ed]: NameView::shift()
/// [`key()`]: NameView::key() /// [`key()`]: NameView::key()
/// [forms guide]: https://rocket.rs/v0.5/guide/requests/#forms /// [forms guide]: https://rocket.rs/master/guide/requests/#forms
/// ///
/// # Parsing Strategy /// # Parsing Strategy
/// ///

View File

@ -1,6 +1,6 @@
//! Parsing and validation of HTTP forms and fields. //! Parsing and validation of HTTP forms and fields.
//! //!
//! See the [forms guide](https://rocket.rs/v0.5/guide/requests#forms) for //! See the [forms guide](https://rocket.rs/master/guide/requests#forms) for
//! general form support documentation. //! general form support documentation.
//! //!
//! # Field Wire Format //! # Field Wire Format

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))]
@ -18,10 +18,10 @@
//! detailed guide]. If you'd like pointers on getting started, see the //! detailed guide]. If you'd like pointers on getting started, see the
//! [quickstart] or [getting started] chapters of the guide. //! [quickstart] or [getting started] chapters of the guide.
//! //!
//! [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
//! //!
//! ## Usage //! ## Usage
//! //!
@ -29,13 +29,13 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "0.5.0" //! rocket = "0.6.0-dev"
//! ``` //! ```
//! //!
//! <small>Note that development versions, tagged with `-dev`, are not published //! <small>Note that development versions, tagged with `-dev`, are not published
//! and need to be specified as [git dependencies].</small> //! and need to be specified as [git dependencies].</small>
//! //!
//! See the [guide](https://rocket.rs/v0.5/guide) for more information on how //! 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: //! to write Rocket applications. Here's a simple example to get you started:
//! //!
//! [git dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories //! [git dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories
@ -73,21 +73,21 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = { version = "0.5.0", features = ["secrets", "tls", "json"] } //! rocket = { version = "0.6.0-dev", features = ["secrets", "tls", "json"] }
//! ``` //! ```
//! //!
//! Conversely, HTTP/2 can be disabled: //! Conversely, HTTP/2 can be disabled:
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = { version = "0.5.0", default-features = false } //! rocket = { version = "0.6.0-dev", default-features = false }
//! ``` //! ```
//! //!
//! [JSON (de)serialization]: crate::serde::json //! [JSON (de)serialization]: crate::serde::json
//! [MessagePack (de)serialization]: crate::serde::msgpack //! [MessagePack (de)serialization]: crate::serde::msgpack
//! [UUID value parsing and (de)serialization]: crate::serde::uuid //! [UUID value parsing and (de)serialization]: crate::serde::uuid
//! [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
//! [mutual TLS]: crate::mtls //! [mutual TLS]: crate::mtls
//! //!
//! ## Configuration //! ## Configuration
@ -103,8 +103,8 @@
//! integration testing of a Rocket application. The top-level [`local`] module //! integration testing of a Rocket application. The top-level [`local`] module
//! documentation and the [testing guide] include detailed examples. //! documentation and the [testing guide] include detailed examples.
//! //!
//! [configuration guide]: https://rocket.rs/v0.5/guide/configuration/ //! [configuration guide]: https://rocket.rs/master/guide/configuration/
//! [testing guide]: https://rocket.rs/v0.5/guide/testing/#testing //! [testing guide]: https://rocket.rs/master/guide/testing/#testing
//! [Figment]: https://docs.rs/figment //! [Figment]: https://docs.rs/figment
/// These are public dependencies! Update docs if these are changed, especially /// These are public dependencies! Update docs if these are changed, especially

View File

@ -137,7 +137,7 @@ macro_rules! pub_client_impl {
/// Deprecated alias to [`Client::tracked()`]. /// Deprecated alias to [`Client::tracked()`].
#[deprecated( #[deprecated(
since = "0.5.0", since = "0.6.0-dev",
note = "choose between `Client::untracked()` and `Client::tracked()`" note = "choose between `Client::untracked()` and `Client::tracked()`"
)] )]
pub $($prefix)? fn new<P: Phase>(rocket: Rocket<P>) -> Result<Self, Error> { pub $($prefix)? fn new<P: Phase>(rocket: Rocket<P>) -> Result<Self, Error> {

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

@ -2,7 +2,7 @@
//! //!
//! For details on how to configure mutual TLS, see //! For details on how to configure mutual TLS, see
//! [`MutualTls`](crate::config::MutualTls) and the [TLS //! [`MutualTls`](crate::config::MutualTls) and the [TLS
//! guide](https://rocket.rs/v0.5/guide/configuration/#tls). See //! guide](https://rocket.rs/master/guide/configuration/#tls). See
//! [`Certificate`] for a request guard that validated, verifies, and retrieves //! [`Certificate`] for a request guard that validated, verifies, and retrieves
//! client certificates. //! client certificates.

View File

@ -368,7 +368,7 @@ pub type Outcome<S, E> = outcome::Outcome<S, (Status, E), Status>;
/// 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<'r>: Sized { pub trait FromRequest<'r>: Sized {
/// The associated error to be returned if derivation fails. /// The associated error to be returned if derivation fails.

View File

@ -9,7 +9,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.rocket] //! [dependencies.rocket]
//! version = "0.5.0" //! version = "0.6.0-dev"
//! features = ["json"] //! features = ["json"]
//! ``` //! ```
//! //!

View File

@ -9,7 +9,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.rocket] //! [dependencies.rocket]
//! version = "0.5.0" //! version = "0.6.0-dev"
//! features = ["msgpack"] //! features = ["msgpack"]
//! ``` //! ```
//! //!

View File

@ -7,7 +7,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.rocket] //! [dependencies.rocket]
//! version = "0.5.0" //! version = "0.6.0-dev"
//! features = ["uuid"] //! features = ["uuid"]
//! ``` //! ```
//! //!

View File

@ -4,7 +4,7 @@
//! security and privacy headers into all outgoing responses. It takes some //! security and privacy headers into all outgoing responses. It takes some
//! inspiration from [helmetjs], a similar piece of middleware for [express]. //! inspiration from [helmetjs], a similar piece of middleware for [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
//! //!

View File

@ -58,7 +58,7 @@ VERSION=$(git grep -h "^version" "${CORE_LIB_ROOT}" | head -n 1 | cut -d '"' -f2
MAJOR_VERSION=$(echo "${VERSION}" | cut -d'.' -f1-2) MAJOR_VERSION=$(echo "${VERSION}" | cut -d'.' -f1-2)
VIRTUAL_CODENAME="$(git branch --show-current)" VIRTUAL_CODENAME="$(git branch --show-current)"
PHYSICAL_CODENAME="v${MAJOR_VERSION}" PHYSICAL_CODENAME="v${MAJOR_VERSION}"
CURRENT_RELEASE=true CURRENT_RELEASE=false
PRE_RELEASE=false PRE_RELEASE=false
# A generated codename for this version. Use the git branch for pre-releases. # A generated codename for this version. Use the git branch for pre-releases.

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` 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 git checkout master
cd examples/hello cd examples/hello
cargo run cargo run
``` ```

View File

@ -52,7 +52,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
rocket = "0.5.0" rocket = "0.6.0-dev"
``` ```
And finally, create a skeleton Rocket application to work off of in And finally, create a skeleton Rocket application to work off of in

View File

@ -644,7 +644,7 @@ is to depend on a `contrib` library from git while also depending on a
`crates.io` version of Rocket or vice-versa: `crates.io` version of Rocket or vice-versa:
```toml ```toml
rocket = "0.5.0" rocket = "0.6.0-dev"
rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" } rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" }
``` ```

View File

@ -43,7 +43,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
rocket = "0.5.0" rocket = "0.6.0-dev"
``` ```
! warning: Development versions must be _git_ dependencies. ! warning: Development versions must be _git_ dependencies.

View File

@ -260,8 +260,8 @@ You can find async-ready libraries on [crates.io](https://crates.io) with the
! note ! note
Rocket v0.5 uses the tokio runtime. The runtime is started for you if you Rocket uses the tokio runtime. The runtime is started for you if you use
use `#[launch]` or `#[rocket::main]`, but you can still `launch()` a Rocket `#[launch]` or `#[rocket::main]`, but you can still `launch()` a Rocket
instance on a custom-built runtime by not using _either_ attribute. instance on a custom-built runtime by not using _either_ attribute.
### Async Routes ### Async Routes

View File

@ -606,7 +606,7 @@ feature:
```toml ```toml
## in Cargo.toml ## in Cargo.toml
rocket = { version = "0.5.0", features = ["secrets"] } rocket = { version = "0.6.0-dev", features = ["secrets"] }
``` ```
The API for retrieving, adding, and removing private cookies is identical except The API for retrieving, adding, and removing private cookies is identical except
@ -784,7 +784,7 @@ complete example.
feature can be enabled in the `Cargo.toml`: feature can be enabled in the `Cargo.toml`:
` `
rocket = { version = "0.5.0", features = ["json"] } rocket = { version = "0.6.0-dev", features = ["json"] }
` `
### Temporary Files ### Temporary Files

View File

@ -237,7 +237,7 @@ Security). To enable TLS support:
```toml,ignore ```toml,ignore
[dependencies] [dependencies]
rocket = { version = "0.5.0", features = ["tls"] } rocket = { version = "0.6.0-dev", features = ["tls"] }
``` ```
2. Configure a TLS certificate chain and private key via the `tls.key` and 2. Configure a TLS certificate chain and private key via the `tls.key` and
@ -302,7 +302,7 @@ enabled and support configured via the `tls.mutual` config parameter:
```toml,ignore ```toml,ignore
[dependencies] [dependencies]
rocket = { version = "0.5.0", features = ["mtls"] } rocket = { version = "0.6.0-dev", features = ["mtls"] }
``` ```
This implicitly enables the `tls` feature. This implicitly enables the `tls` feature.

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

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_guide_tests" name = "rocket_guide_tests"
version = "0.5.0" version = "0.6.0-dev"
workspace = "../../" workspace = "../../"
edition = "2021" edition = "2021"
publish = false publish = false