Skip to content

Commit

Permalink
New version: 0.5.0-rc.1.
Browse files Browse the repository at this point in the history
New contrib versions: 0.1.0-rc.1.
  • Loading branch information
SergioBenitez committed Jun 9, 2021
1 parent b0684c8 commit c028d63
Show file tree
Hide file tree
Showing 39 changed files with 71 additions and 71 deletions.
6 changes: 3 additions & 3 deletions contrib/dyn_templates/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "rocket_dyn_templates"
version = "0.1.0-dev"
version = "0.1.0-rc.1"
authors = ["Sergio Benitez <[email protected]>"]
description = "Dynamic templating engine integration for Rocket."
documentation = "https://api.rocket.rs/master/rocket_dyn_templates/"
documentation = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/"
homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket/contrib/dyn_templates"
readme = "README.md"
Expand All @@ -23,7 +23,7 @@ notify = "4.0.6"
normpath = "0.3"

[dependencies.rocket]
version = "0.5.0-dev"
version = "0.5.0-rc.1"
path = "../../core/lib"
default-features = false

Expand Down
4 changes: 2 additions & 2 deletions contrib/dyn_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_dyn_templates.svg
[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
[crate docs]: https://api.rocket.rs/master/rocket_dyn_templates
[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions

Expand All @@ -22,7 +22,7 @@ supports [Handlebars] and [Tera].

```toml
[dependencies.rocket_dyn_templates]
version = "0.1.0-dev"
version = "0.1.0-rc.1"
features = ["handlebars", "tera"]
```

Expand Down
6 changes: 3 additions & 3 deletions contrib/dyn_templates/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//!
//! ```toml
//! [dependencies.rocket_dyn_templates]
//! version = "0.1.0-dev"
//! version = "0.1.0-rc.1"
//! features = ["handlebars", "tera"]
//! ```
//!
Expand Down Expand Up @@ -67,7 +67,7 @@
//! template directory is configured via the `template_dir` configuration
//! parameter and defaults to `templates/`. The path set in `template_dir` is
//! relative to the Rocket configuration file. See the [configuration
//! chapter](https://rocket.rs/master/guide/configuration) of the guide for more
//! chapter](https://rocket.rs/v0.5-rc/guide/configuration) of the guide for more
//! information on configuration.
//!
//! The corresponding templating engine used for a given template is based on a
Expand Down Expand Up @@ -130,7 +130,7 @@
//!
//! [`Serialize`]: serde::Serialize

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

Expand Down
4 changes: 2 additions & 2 deletions contrib/sync_db_pools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_sync_db_pools.svg
[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
[crate docs]: https://api.rocket.rs/master/rocket_sync_db_pools
[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions

Expand All @@ -19,7 +19,7 @@ First, enable the feature corresponding to your database type:

```toml
[dependencies.rocket_sync_db_pools]
version = "0.1.0-dev"
version = "0.1.0-rc.1"
features = ["diesel_sqlite_pool"]
```

Expand Down
2 changes: 1 addition & 1 deletion contrib/sync_db_pools/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rocket_sync_db_pools_codegen"
version = "0.1.0-dev"
version = "0.1.0-rc.1"
authors = ["Sergio Benitez <[email protected]>"]
description = "Procedural macros for rocket_sync_db_pools."
repository = "https://github.com/SergioBenitez/Rocket/contrib/sync_db_pools"
Expand Down
6 changes: 3 additions & 3 deletions contrib/sync_db_pools/lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rocket_sync_db_pools"
version = "0.1.0-dev"
version = "0.1.0-rc.1"
authors = ["Sergio Benitez <[email protected]>"]
description = "Rocket async database pooling support for sync database drivers."
repository = "https://github.com/SergioBenitez/Rocket/contrib/sync_db_pools"
Expand Down Expand Up @@ -34,11 +34,11 @@ memcache = { version = "0.15", optional = true }
r2d2-memcache = { version = "0.6", optional = true }

[dependencies.rocket_sync_db_pools_codegen]
version = "0.1.0-dev"
version = "0.1.0-rc.1"
path = "../codegen"

[dependencies.rocket]
version = "0.5.0-dev"
version = "0.5.0-rc.1"
path = "../../../core/lib"
default-features = false

Expand Down
6 changes: 3 additions & 3 deletions contrib/sync_db_pools/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//!
//! ```toml
//! [dependencies.rocket_sync_db_pools]
//! version = "0.1.0-dev"
//! version = "0.1.0-rc.1"
//! features = ["diesel_sqlite_pool"]
//! ```
//!
Expand Down Expand Up @@ -161,7 +161,7 @@
//! Lastly, databases can be configured via environment variables by specifying
//! the `databases` table as detailed in the [Environment Variables
//! configuration
//! guide](https://rocket.rs/master/guide/configuration/#environment-variables):
//! guide](https://rocket.rs/v0.5-rc/guide/configuration/#environment-variables):
//!
//! ```bash
//! ROCKET_DATABASES='{my_db={url="db.sqlite"}}'
Expand Down Expand Up @@ -349,7 +349,7 @@
//! [request guards]: rocket::request::FromRequest
//! [`Poolable`]: crate::Poolable

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

Expand Down
8 changes: 4 additions & 4 deletions core/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "rocket_codegen"
version = "0.5.0-dev"
version = "0.5.0-rc.1"
authors = ["Sergio Benitez <[email protected]>"]
description = "Procedural macros for the Rocket web framework."
documentation = "https://api.rocket.rs/master/rocket_codegen/"
documentation = "https://api.rocket.rs/v0.5-rc/rocket_codegen/"
homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md"
Expand All @@ -20,12 +20,12 @@ quote = "1.0"
syn = { version = "1.0.72", features = ["full", "visit", "visit-mut", "extra-traits"] }
proc-macro2 = "1.0.27"
devise = "0.3"
rocket_http = { version = "0.5.0-dev", path = "../http/" }
rocket_http = { version = "0.5.0-rc.1", path = "../http/" }
unicode-xid = "0.2"
glob = "0.3"

[dev-dependencies]
rocket = { version = "0.5.0-dev", path = "../lib", features = ["json"] }
rocket = { version = "0.5.0-rc.1", path = "../lib", features = ["json"] }
pretty_assertions = "0.7"
version_check = "0.9"
trybuild = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions core/codegen/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![recursion_limit="128"]

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

Expand All @@ -11,7 +11,7 @@
//! This crate implements the code generation portions of Rocket. This includes
//! custom derives, custom attributes, and procedural macros. The documentation
//! here is purely technical. The code generation facilities are documented
//! thoroughly in the [Rocket programming guide](https://rocket.rs/master/guide).
//! thoroughly in the [Rocket programming guide](https://rocket.rs/v0.5-rc/guide).
//!
//! # Usage
//!
Expand All @@ -21,7 +21,7 @@
//!
//! ```toml
//! [dependencies]
//! rocket = "0.5.0-dev"
//! rocket = "0.5.0-rc.1"
//! ```
//!
//! And to import all macros, attributes, and derives via `#[macro_use]` in the
Expand Down
6 changes: 3 additions & 3 deletions core/http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "rocket_http"
version = "0.5.0-dev"
version = "0.5.0-rc.1"
authors = ["Sergio Benitez <[email protected]>"]
description = """
Types, traits, and parsers for HTTP requests, responses, and headers.
"""
documentation = "https://api.rocket.rs/master/rocket_http/"
documentation = "https://api.rocket.rs/v0.5-rc/rocket_http/"
homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md"
Expand Down Expand Up @@ -61,4 +61,4 @@ optional = true
default-features = false

[dev-dependencies]
rocket = { version = "0.5.0-dev", path = "../lib" }
rocket = { version = "0.5.0-rc.1", path = "../lib" }
8 changes: 4 additions & 4 deletions core/lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "rocket"
version = "0.5.0-dev"
version = "0.5.0-rc.1"
authors = ["Sergio Benitez <[email protected]>"]
description = """
Web framework with a focus on usability, security, extensibility, and speed.
"""
documentation = "https://api.rocket.rs/master/rocket/"
documentation = "https://api.rocket.rs/v0.5-rc/rocket/"
homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md"
Expand Down Expand Up @@ -59,11 +59,11 @@ tokio-stream = { version = "0.1.6", features = ["signal", "time"] }
state = "0.5.1"

[dependencies.rocket_codegen]
version = "0.5.0-dev"
version = "0.5.0-rc.1"
path = "../codegen"

[dependencies.rocket_http]
version = "0.5.0-dev"
version = "0.5.0-rc.1"
path = "../http"
features = ["serde"]

Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::config::SecretKey;
/// See the [module level docs](crate::config) as well as the [configuration
/// guide] for further details.
///
/// [configuration guide]: https://rocket.rs/master/guide/configuration/
/// [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/
///
/// # Defaults
///
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! See the [configuration guide] for full details.
//!
//! [configuration guide]: https://rocket.rs/master/guide/configuration/
//! [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/
//!
//! ## Extracting Configuration Parameters
//!
Expand Down
4 changes: 2 additions & 2 deletions core/lib/src/config/secret_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ enum Kind {
/// assert!(matches!(error.kind(), ErrorKind::InsecureSecretKey(profile)));
/// ```
///
/// [private cookies]: https://rocket.rs/master/guide/requests/#private-cookies
/// [configuration guide]: https://rocket.rs/master/guide/configuration/#secret-key
/// [private cookies]: https://rocket.rs/v0.5-rc/guide/requests/#private-cookies
/// [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/#secret-key
#[derive(Clone)]
pub struct SecretKey {
pub(crate) key: Key,
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/fairing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ pub type Result<T = Rocket<Build>, E = Rocket<Build>> = std::result::Result<T, E
/// }
/// ```
///
/// [request-local state]: https://rocket.rs/master/guide/state/#request-local-state
/// [request-local state]: https://rocket.rs/v0.5-rc/guide/state/#request-local-state
#[crate::async_trait]
pub trait Fairing: Send + Sync + Any + 'static {
/// Returns an [`Info`] structure containing the `name` and [`Kind`] of this
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/form/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use crate::http::Status;
/// `Context` serializes as a map, so it can be rendered in templates that
/// require `Serialize` types. See the [forms guide] for further usage details.
///
/// [forms guide]: https://rocket.rs/master/guide/requests/#context
/// [forms guide]: https://rocket.rs/v0.5-rc/guide/requests/#context
#[derive(Debug)]
pub struct Contextual<'v, T> {
/// The value, if it was successfully parsed, or `None` otherwise.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/form/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::form::prelude::*;
/// This type implements the [`FromData`] trait. It provides a generic means to
/// parse arbitrary structures from incoming form data.
///
/// See the [forms guide](https://rocket.rs/master/guide/requests#forms) for
/// See the [forms guide](https://rocket.rs/v0.5-rc/guide/requests#forms) for
/// general form support documentation.
///
/// # Leniency
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/form/from_form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ use crate::http::uncased::AsUncased;
/// [FromFormField]: crate::form::FromFormField
/// [`shift()`ed]: NameView::shift()
/// [`key()`]: NameView::key()
/// [forms guide]: https://rocket.rs/master/guide/requests/#forms
/// [forms guide]: https://rocket.rs/v0.5-rc/guide/requests/#forms
///
/// # Parsing Strategy
///
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/form/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Parsing and validation of HTTP forms and fields.
//!
//! See the [forms guide](https://rocket.rs/master/guide/requests#forms) for
//! See the [forms guide](https://rocket.rs/v0.5-rc/guide/requests#forms) for
//! general form support documentation.
//!
//! # Field Wire Format
Expand Down
24 changes: 12 additions & 12 deletions core/lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![recursion_limit="256"]

#![doc(html_root_url = "https://api.rocket.rs/master")]
#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]
#![cfg_attr(nightly, feature(doc_cfg))]
Expand All @@ -18,24 +18,24 @@
//! detailed guide]. If you'd like pointers on getting started, see the
//! [quickstart] or [getting started] chapters of the guide.
//!
//! [overview]: https://rocket.rs/master/overview
//! [full, detailed guide]: https://rocket.rs/master/guide
//! [quickstart]: https://rocket.rs/master/guide/quickstart
//! [getting started]: https://rocket.rs/master/guide/getting-started
//! [overview]: https://rocket.rs/v0.5-rc/overview
//! [full, detailed guide]: https://rocket.rs/v0.5-rc/guide
//! [quickstart]: https://rocket.rs/v0.5-rc/guide/quickstart
//! [getting started]: https://rocket.rs/v0.5-rc/guide/getting-started
//!
//! ## Usage
//!
//! Depend on `rocket` in `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! rocket = "0.5.0-dev"
//! rocket = "0.5.0-rc.1"
//! ```
//!
//! <small>Note that development versions, tagged with `-dev`, are not published
//! and need to be specified as [git dependencies].</small>
//!
//! See the [guide](https://rocket.rs/master/guide) for more information on how
//! See the [guide](https://rocket.rs/v0.5-rc/guide) for more information on how
//! 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
Expand Down Expand Up @@ -71,14 +71,14 @@
//!
//! ```toml
//! [dependencies]
//! rocket = { version = "0.5.0-dev", features = ["secrets", "tls", "json"] }
//! rocket = { version = "0.5.0-rc.1", features = ["secrets", "tls", "json"] }
//! ```
//!
//! [JSON (de)serialization]: crate::serde::json
//! [MessagePack (de)serialization]: crate::serde::msgpack
//! [UUID value parsing and (de)serialization]: crate::serde::uuid
//! [private cookies]: https://rocket.rs/master/guide/requests/#private-cookies
//! [TLS]: https://rocket.rs/master/guide/configuration/#tls
//! [private cookies]: https://rocket.rs/v0.5-rc/guide/requests/#private-cookies
//! [TLS]: https://rocket.rs/v0.5-rc/guide/configuration/#tls
//!
//! ## Configuration
//!
Expand All @@ -93,8 +93,8 @@
//! integration testing of a Rocket application. The top-level [`local`] module
//! documentation and the [testing guide] include detailed examples.
//!
//! [configuration guide]: https://rocket.rs/master/guide/configuration/
//! [testing guide]: https://rocket.rs/master/guide/testing/#testing
//! [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/
//! [testing guide]: https://rocket.rs/v0.5-rc/guide/testing/#testing
//! [Figment]: https://docs.rs/figment

/// These are public dependencies! Update docs if these are changed, especially
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/local/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
//!
//! For more details on testing, see the [testing guide].
//!
//! [testing guide]: https://rocket.rs/master/guide/testing/
//! [testing guide]: https://rocket.rs/v0.5-rc/guide/testing/
//! [`Client`]: crate::local::asynchronous::Client
//!
//! # `Client`
Expand Down
Loading

0 comments on commit c028d63

Please sign in to comment.