mirror of https://github.com/rwf2/Rocket.git
New version: 0.5.0-rc.4.
New contrib versions: 0.1.0-rc.4.
This commit is contained in:
parent
208848dc31
commit
24ca5e8783
|
@ -17,7 +17,7 @@ full usage details.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_db_pools]
|
[dependencies.rocket_db_pools]
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
features = ["sqlx_sqlite"]
|
features = ["sqlx_sqlite"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_db_pools_codegen"
|
name = "rocket_db_pools_codegen"
|
||||||
version = "0.1.0-rc.3"
|
version = "0.1.0-rc.4"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
||||||
description = "Procedural macros for rocket_db_pools."
|
description = "Procedural macros for rocket_db_pools."
|
||||||
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_db_pools"
|
name = "rocket_db_pools"
|
||||||
version = "0.1.0-rc.3"
|
version = "0.1.0-rc.4"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
||||||
description = "Rocket async database pooling support"
|
description = "Rocket async database pooling support"
|
||||||
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
||||||
|
@ -29,12 +29,12 @@ diesel_mysql = ["diesel-async/mysql", "diesel-async/deadpool", "diesel", "deadpo
|
||||||
|
|
||||||
[dependencies.rocket]
|
[dependencies.rocket]
|
||||||
path = "../../../core/lib"
|
path = "../../../core/lib"
|
||||||
version = "=0.5.0-rc.3"
|
version = "=0.5.0-rc.4"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.rocket_db_pools_codegen]
|
[dependencies.rocket_db_pools_codegen]
|
||||||
path = "../codegen"
|
path = "../codegen"
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
|
|
||||||
[dependencies.deadpool]
|
[dependencies.deadpool]
|
||||||
version = "0.9"
|
version = "0.9"
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! rocket = "=0.5.0-rc.3"
|
//! rocket = "=0.5.0-rc.4"
|
||||||
//! diesel = "2"
|
//! diesel = "2"
|
||||||
//!
|
//!
|
||||||
//! [dependencies.rocket_db_pools]
|
//! [dependencies.rocket_db_pools]
|
||||||
//! version = "=0.1.0-rc.3"
|
//! version = "=0.1.0-rc.4"
|
||||||
//! features = ["diesel_mysql"]
|
//! features = ["diesel_mysql"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_db_pools]
|
//! [dependencies.rocket_db_pools]
|
||||||
//! version = "=0.1.0-rc.3"
|
//! version = "=0.1.0-rc.4"
|
||||||
//! features = ["sqlx_sqlite"]
|
//! features = ["sqlx_sqlite"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
@ -165,7 +165,7 @@
|
||||||
//! features = ["macros", "migrate"]
|
//! features = ["macros", "migrate"]
|
||||||
//!
|
//!
|
||||||
//! [dependencies.rocket_db_pools]
|
//! [dependencies.rocket_db_pools]
|
||||||
//! version = "=0.1.0-rc.3"
|
//! version = "=0.1.0-rc.4"
|
||||||
//! features = ["sqlx_sqlite"]
|
//! features = ["sqlx_sqlite"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_dyn_templates"
|
name = "rocket_dyn_templates"
|
||||||
version = "0.1.0-rc.3"
|
version = "0.1.0-rc.4"
|
||||||
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-rc/rocket_dyn_templates/"
|
documentation = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/"
|
||||||
|
@ -22,7 +22,7 @@ notify = "6"
|
||||||
normpath = "1"
|
normpath = "1"
|
||||||
|
|
||||||
[dependencies.rocket]
|
[dependencies.rocket]
|
||||||
version = "=0.5.0-rc.3"
|
version = "=0.5.0-rc.4"
|
||||||
path = "../../core/lib"
|
path = "../../core/lib"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ supports [Handlebars] and [Tera].
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_dyn_templates]
|
[dependencies.rocket_dyn_templates]
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
features = ["handlebars", "tera"]
|
features = ["handlebars", "tera"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_dyn_templates]
|
//! [dependencies.rocket_dyn_templates]
|
||||||
//! version = "=0.1.0-rc.3"
|
//! version = "=0.1.0-rc.4"
|
||||||
//! features = ["handlebars", "tera"]
|
//! features = ["handlebars", "tera"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -19,7 +19,7 @@ First, enable the feature corresponding to your database type:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_sync_db_pools]
|
[dependencies.rocket_sync_db_pools]
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
features = ["diesel_sqlite_pool"]
|
features = ["diesel_sqlite_pool"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_sync_db_pools_codegen"
|
name = "rocket_sync_db_pools_codegen"
|
||||||
version = "0.1.0-rc.3"
|
version = "0.1.0-rc.4"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
||||||
description = "Procedural macros for rocket_sync_db_pools."
|
description = "Procedural macros for rocket_sync_db_pools."
|
||||||
repository = "https://github.com/SergioBenitez/Rocket/contrib/sync_db_pools"
|
repository = "https://github.com/SergioBenitez/Rocket/contrib/sync_db_pools"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_sync_db_pools"
|
name = "rocket_sync_db_pools"
|
||||||
version = "0.1.0-rc.3"
|
version = "0.1.0-rc.4"
|
||||||
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-rc/contrib/sync_db_pools"
|
repository = "https://github.com/SergioBenitez/Rocket/tree/v0.5-rc/contrib/sync_db_pools"
|
||||||
|
@ -35,11 +35,11 @@ memcache = { version = "0.15", optional = true }
|
||||||
r2d2-memcache = { version = "0.6", optional = true }
|
r2d2-memcache = { version = "0.6", optional = true }
|
||||||
|
|
||||||
[dependencies.rocket_sync_db_pools_codegen]
|
[dependencies.rocket_sync_db_pools_codegen]
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
path = "../codegen"
|
path = "../codegen"
|
||||||
|
|
||||||
[dependencies.rocket]
|
[dependencies.rocket]
|
||||||
version = "=0.5.0-rc.3"
|
version = "=0.5.0-rc.4"
|
||||||
path = "../../../core/lib"
|
path = "../../../core/lib"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_sync_db_pools]
|
//! [dependencies.rocket_sync_db_pools]
|
||||||
//! version = "=0.1.0-rc.3"
|
//! version = "=0.1.0-rc.4"
|
||||||
//! features = ["diesel_sqlite_pool"]
|
//! features = ["diesel_sqlite_pool"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_ws"
|
name = "rocket_ws"
|
||||||
version = "0.1.0-rc.3"
|
version = "0.1.0-rc.4"
|
||||||
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-rc/rocket_ws/"
|
documentation = "https://api.rocket.rs/v0.5-rc/rocket_ws/"
|
||||||
|
@ -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-rc.3"
|
version = "=0.5.0-rc.4"
|
||||||
path = "../../core/lib"
|
path = "../../core/lib"
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ This crate provides WebSocket support for Rocket via integration with Rocket's
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ws = { package = "rocket_ws", version ="=0.1.0-rc.3" }
|
ws = { package = "rocket_ws", version ="=0.1.0-rc.4" }
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Use it!
|
2. Use it!
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! ws = { package = "rocket_ws", version ="=0.1.0-rc.3" }
|
//! ws = { package = "rocket_ws", version ="=0.1.0-rc.4" }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! Then, use [`WebSocket`] as a request guard in any route and either call
|
//! Then, use [`WebSocket`] as a request guard in any route and either call
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_codegen"
|
name = "rocket_codegen"
|
||||||
version = "0.5.0-rc.3"
|
version = "0.5.0-rc.4"
|
||||||
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-rc/rocket_codegen/"
|
documentation = "https://api.rocket.rs/v0.5-rc/rocket_codegen/"
|
||||||
|
@ -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-rc.3", path = "../http/" }
|
rocket_http = { version = "=0.5.0-rc.4", path = "../http/" }
|
||||||
unicode-xid = "0.2"
|
unicode-xid = "0.2"
|
||||||
version_check = "0.9"
|
version_check = "0.9"
|
||||||
glob = "0.3"
|
glob = "0.3"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! rocket = "=0.5.0-rc.3"
|
//! rocket = "=0.5.0-rc.4"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! 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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_http"
|
name = "rocket_http"
|
||||||
version = "0.5.0-rc.3"
|
version = "0.5.0-rc.4"
|
||||||
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.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket"
|
name = "rocket"
|
||||||
version = "0.5.0-rc.3"
|
version = "0.5.0-rc.4"
|
||||||
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.
|
||||||
|
@ -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-rc.3"
|
version = "=0.5.0-rc.4"
|
||||||
path = "../codegen"
|
path = "../codegen"
|
||||||
|
|
||||||
[dependencies.rocket_http]
|
[dependencies.rocket_http]
|
||||||
version = "=0.5.0-rc.3"
|
version = "=0.5.0-rc.4"
|
||||||
path = "../http"
|
path = "../http"
|
||||||
features = ["serde"]
|
features = ["serde"]
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! rocket = "=0.5.0-rc.3"
|
//! rocket = "=0.5.0-rc.4"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! <small>Note that development versions, tagged with `-dev`, are not published
|
//! <small>Note that development versions, tagged with `-dev`, are not published
|
||||||
|
@ -73,14 +73,14 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! rocket = { version = "=0.5.0-rc.3", features = ["secrets", "tls", "json"] }
|
//! rocket = { version = "=0.5.0-rc.4", 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-rc.3", default-features = false }
|
//! rocket = { version = "=0.5.0-rc.4", default-features = false }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! [JSON (de)serialization]: crate::serde::json
|
//! [JSON (de)serialization]: crate::serde::json
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket]
|
//! [dependencies.rocket]
|
||||||
//! version = "=0.5.0-rc.3"
|
//! version = "=0.5.0-rc.4"
|
||||||
//! features = ["json"]
|
//! features = ["json"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket]
|
//! [dependencies.rocket]
|
||||||
//! version = "=0.5.0-rc.3"
|
//! version = "=0.5.0-rc.4"
|
||||||
//! features = ["msgpack"]
|
//! features = ["msgpack"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket]
|
//! [dependencies.rocket]
|
||||||
//! version = "=0.5.0-rc.3"
|
//! version = "=0.5.0-rc.4"
|
||||||
//! features = ["uuid"]
|
//! features = ["uuid"]
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -38,7 +38,7 @@ private cookies, you _must_ enable the `secrets` feature in `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = { version = "=0.5.0-rc.3", features = ["secrets"] }
|
rocket = { version = "=0.5.0-rc.4", features = ["secrets"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
### Contrib Deprecation
|
### Contrib Deprecation
|
||||||
|
@ -59,8 +59,8 @@ to `Cargo.toml`:
|
||||||
[dependencies]
|
[dependencies]
|
||||||
- rocket = "0.4"
|
- rocket = "0.4"
|
||||||
- rocket_contrib = { version = "0.4", features = ["json"], default-features = false }
|
- rocket_contrib = { version = "0.4", features = ["json"], default-features = false }
|
||||||
+ rocket = { version = "=0.5.0-rc.3", features = ["json"] }
|
+ rocket = { version = "=0.5.0-rc.4", features = ["json"] }
|
||||||
+ rocket_dyn_templates = { version = "=0.1.0-rc.3", features = ["tera"] }
|
+ rocket_dyn_templates = { version = "=0.1.0-rc.4", features = ["tera"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
! note: `rocket_dyn_templates` (and co.) _does not_ follow in version lock-step
|
! note: `rocket_dyn_templates` (and co.) _does not_ follow in version lock-step
|
||||||
|
|
|
@ -52,7 +52,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = "=0.5.0-rc.3"
|
rocket = "=0.5.0-rc.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
And finally, create a skeleton Rocket application to work off of in
|
And finally, create a skeleton Rocket application to work off of in
|
||||||
|
|
|
@ -646,7 +646,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-rc.3"
|
rocket = "=0.5.0-rc.4"
|
||||||
rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" }
|
rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = "=0.5.0-rc.3"
|
rocket = "=0.5.0-rc.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
! warning: Development versions must be _git_ dependencies.
|
! warning: Development versions must be _git_ dependencies.
|
||||||
|
|
|
@ -606,7 +606,7 @@ feature:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
## in Cargo.toml
|
## in Cargo.toml
|
||||||
rocket = { version = "=0.5.0-rc.3", features = ["secrets"] }
|
rocket = { version = "=0.5.0-rc.4", 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-rc.3", features = ["json"] }
|
rocket = { version = "=0.5.0-rc.4", features = ["json"] }
|
||||||
`
|
`
|
||||||
|
|
||||||
### Temporary Files
|
### Temporary Files
|
||||||
|
|
|
@ -231,7 +231,7 @@ in three simple steps:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_db_pools]
|
[dependencies.rocket_db_pools]
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
features = ["sqlx_sqlite"]
|
features = ["sqlx_sqlite"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -299,7 +299,7 @@ default-features = false
|
||||||
features = ["macros", "migrate"]
|
features = ["macros", "migrate"]
|
||||||
|
|
||||||
[dependencies.rocket_db_pools]
|
[dependencies.rocket_db_pools]
|
||||||
version = "=0.1.0-rc.3"
|
version = "=0.1.0-rc.4"
|
||||||
features = ["sqlx_sqlite"]
|
features = ["sqlx_sqlite"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -237,7 +237,7 @@ Security). To enable TLS support:
|
||||||
|
|
||||||
```toml,ignore
|
```toml,ignore
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = { version = "=0.5.0-rc.3", features = ["tls"] }
|
rocket = { version = "=0.5.0-rc.4", 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-rc.3", features = ["mtls"] }
|
rocket = { version = "=0.5.0-rc.4", features = ["mtls"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
This implicitly enables the `tls` feature.
|
This implicitly enables the `tls` feature.
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
[release]
|
[release]
|
||||||
version = "0.5.0-rc.3"
|
version = "0.5.0-rc.4"
|
||||||
date = "Mar 23, 2023"
|
date = "Nov 1, 2023"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Top features: displayed in the header under the introductory text.
|
# Top features: displayed in the header under the introductory text.
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
# Rocket's 4th v0.5 Release Candidate
|
||||||
|
|
||||||
|
<p class="metadata"><strong>
|
||||||
|
Posted by <a href="https://sergio.bz">Sergio Benitez</a> on November 01, 2023
|
||||||
|
</strong></p>
|
||||||
|
|
||||||
|
Rocket `0.5.0-rc.4`, a release candidate for Rocket v0.5, is now available.
|
||||||
|
|
||||||
|
This release builds on the previous release candidate and brings further
|
||||||
|
features, improvements, and fixes to Rocket. As before, this is an opportunity
|
||||||
|
to discover issues with Rocket v0.5 and its documentation before its general
|
||||||
|
release. We encourage all users to migrate their applications to the fourth
|
||||||
|
release candidate and report any issues to the [GitHub issue tracker]. Please
|
||||||
|
see the new [migration guide] for complete details on how to upgrade from Rocket
|
||||||
|
v0.4. For changes since Rocket v0.5.0-rc.3, please see the [CHANGELOG].
|
||||||
|
|
||||||
|
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
||||||
|
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
||||||
|
[migration guide]: ../../guide/upgrading
|
||||||
|
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.4/CHANGELOG.md
|
||||||
|
|
||||||
|
## About Rocket
|
||||||
|
|
||||||
|
Rocket is a web framework for Rust with a focus on usability, security,
|
||||||
|
extensibility, and speed. Rocket makes it simple to write fast, secure web
|
||||||
|
applications without sacrificing usability.
|
||||||
|
|
||||||
|
Not already using Rocket? Join the tens of thousands of users and hundreds of
|
||||||
|
companies happily using Rocket today! Rocket's extensive documentation makes it
|
||||||
|
easy: get started by [reading through the guide](../../guide) or learning more
|
||||||
|
from [the overview](../../overview).
|
|
@ -1,3 +1,15 @@
|
||||||
|
[[articles]]
|
||||||
|
title = """
|
||||||
|
Rocket's 4th v0.5 Release Candidate
|
||||||
|
"""
|
||||||
|
slug = "2023-11-01-version-0.5-rc.4"
|
||||||
|
author = "Sergio Benitez"
|
||||||
|
author_url = "https://sergio.bz"
|
||||||
|
date = "November 01, 2023"
|
||||||
|
snippet = """
|
||||||
|
Rocket `0.5.0-rc.4`, a release candidate for Rocket v0.5, is now available.
|
||||||
|
"""
|
||||||
|
|
||||||
[[articles]]
|
[[articles]]
|
||||||
title = """
|
title = """
|
||||||
Rocket's 3rd v0.5 Release Candidate
|
Rocket's 3rd v0.5 Release Candidate
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_guide_tests"
|
name = "rocket_guide_tests"
|
||||||
version = "0.5.0-rc.3"
|
version = "0.5.0-rc.4"
|
||||||
workspace = "../../"
|
workspace = "../../"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
Loading…
Reference in New Issue