New version: rocket 0.5.1.

This commit is contained in:
Sergio Benitez 2024-05-22 20:21:17 -05:00
parent 55c59b9f6a
commit af13365302
20 changed files with 28 additions and 28 deletions

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.5.1"
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.5.1"
//! diesel = "2" //! diesel = "2"
//! //!
//! [dependencies.rocket_db_pools] //! [dependencies.rocket_db_pools]

View File

@ -31,7 +31,7 @@ optional = true
features = ["loader", "speedups", "json", "urlencode"] features = ["loader", "speedups", "json", "urlencode"]
[dependencies.rocket] [dependencies.rocket]
version = "0.5.0" version = "0.5.1"
path = "../../core/lib" path = "../../core/lib"
default-features = false default-features = false

View File

@ -39,7 +39,7 @@ version = "0.1.0"
path = "../codegen" path = "../codegen"
[dependencies.rocket] [dependencies.rocket]
version = "0.5.0" version = "0.5.1"
path = "../../../core/lib" path = "../../../core/lib"
default-features = false default-features = false

View File

@ -20,7 +20,7 @@ tungstenite = ["tokio-tungstenite"]
tokio-tungstenite = { version = "0.21", optional = true } tokio-tungstenite = { version = "0.21", optional = true }
[dependencies.rocket] [dependencies.rocket]
version = "0.5.0" version = "0.5.1"
path = "../../core/lib" path = "../../core/lib"
default-features = false default-features = false

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_codegen" name = "rocket_codegen"
version = "0.5.0" version = "0.5.1"
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/v0.5/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.60" proc-macro2 = "1.0.60"
devise = "0.4" devise = "0.4"
rocket_http = { version = "0.5.0", path = "../http/" } rocket_http = { version = "0.5.1", 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

@ -21,7 +21,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "0.5.0" //! rocket = "0.5.1"
//! ``` //! ```
//! //!
//! 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,6 +1,6 @@
[package] [package]
name = "rocket_http" name = "rocket_http"
version = "0.5.0" version = "0.5.1"
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.

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket" name = "rocket"
version = "0.5.0" version = "0.5.1"
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" version = "0.5.1"
path = "../codegen" path = "../codegen"
[dependencies.rocket_http] [dependencies.rocket_http]
version = "0.5.0" version = "0.5.1"
path = "../http" path = "../http"
features = ["serde"] features = ["serde"]

View File

@ -29,7 +29,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "0.5.0" //! rocket = "0.5.1"
//! ``` //! ```
//! //!
//! <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", features = ["secrets", "tls", "json"] } //! rocket = { version = "0.5.1", 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.5.1", default-features = false }
//! ``` //! ```
//! //!
//! [JSON (de)serialization]: crate::serde::json //! [JSON (de)serialization]: crate::serde::json

View File

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

View File

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

View File

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

View File

@ -42,7 +42,7 @@ private cookies, you _must_ enable the `secrets` feature in `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
rocket = { version = "0.5.0", features = ["secrets"] } rocket = { version = "0.5.1", features = ["secrets"] }
``` ```
### Contrib Deprecation ### Contrib Deprecation
@ -63,7 +63,7 @@ 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", features = ["json"] } + rocket = { version = "0.5.1", features = ["json"] }
+ rocket_dyn_templates = { version = "0.1.0", features = ["tera"] } + rocket_dyn_templates = { version = "0.1.0", features = ["tera"] }
``` ```

View File

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

View File

@ -626,7 +626,7 @@ feature:
```toml ```toml
## in Cargo.toml ## in Cargo.toml
rocket = { version = "0.5.0", features = ["secrets"] } rocket = { version = "0.5.1", 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
@ -805,7 +805,7 @@ complete example.
feature can be enabled in the `Cargo.toml`: feature can be enabled in the `Cargo.toml`:
```toml ```toml
rocket = { version = "0.5.0", features = ["json"] } rocket = { version = "0.5.1", features = ["json"] }
``` ```
### Temporary Files ### Temporary Files

View File

@ -243,7 +243,7 @@ Security). To enable TLS support:
```toml,ignore ```toml,ignore
[dependencies] [dependencies]
rocket = { version = "0.5.0", features = ["tls"] } rocket = { version = "0.5.1", 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
@ -308,7 +308,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.5.1", features = ["mtls"] }
``` ```
This implicitly enables the `tls` feature. This implicitly enables the `tls` feature.

View File

@ -56,7 +56,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
rocket = "0.5.0" rocket = "0.5.1"
``` ```
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

@ -585,7 +585,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.5.1"
rocket_db_pools = { git = "https://github.com/rwf2/Rocket.git" } rocket_db_pools = { git = "https://github.com/rwf2/Rocket.git" }
``` ```

View File

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