diff --git a/contrib/db_pools/lib/Cargo.toml b/contrib/db_pools/lib/Cargo.toml index e0a913e9..498f0fe0 100644 --- a/contrib/db_pools/lib/Cargo.toml +++ b/contrib/db_pools/lib/Cargo.toml @@ -29,7 +29,7 @@ diesel_mysql = ["diesel-async/mysql", "diesel-async/deadpool", "diesel", "deadpo [dependencies.rocket] path = "../../../core/lib" -version = "0.5.0" +version = "0.5.1" default-features = false [dependencies.rocket_db_pools_codegen] diff --git a/contrib/db_pools/lib/src/diesel.rs b/contrib/db_pools/lib/src/diesel.rs index 911ba776..82d53c86 100644 --- a/contrib/db_pools/lib/src/diesel.rs +++ b/contrib/db_pools/lib/src/diesel.rs @@ -8,7 +8,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0" +//! rocket = "0.5.1" //! diesel = "2" //! //! [dependencies.rocket_db_pools] diff --git a/contrib/dyn_templates/Cargo.toml b/contrib/dyn_templates/Cargo.toml index e597275b..60179218 100644 --- a/contrib/dyn_templates/Cargo.toml +++ b/contrib/dyn_templates/Cargo.toml @@ -31,7 +31,7 @@ optional = true features = ["loader", "speedups", "json", "urlencode"] [dependencies.rocket] -version = "0.5.0" +version = "0.5.1" path = "../../core/lib" default-features = false diff --git a/contrib/sync_db_pools/lib/Cargo.toml b/contrib/sync_db_pools/lib/Cargo.toml index 7a75dbe6..654b515a 100644 --- a/contrib/sync_db_pools/lib/Cargo.toml +++ b/contrib/sync_db_pools/lib/Cargo.toml @@ -39,7 +39,7 @@ version = "0.1.0" path = "../codegen" [dependencies.rocket] -version = "0.5.0" +version = "0.5.1" path = "../../../core/lib" default-features = false diff --git a/contrib/ws/Cargo.toml b/contrib/ws/Cargo.toml index a65c8d14..6cacdb46 100644 --- a/contrib/ws/Cargo.toml +++ b/contrib/ws/Cargo.toml @@ -20,7 +20,7 @@ tungstenite = ["tokio-tungstenite"] tokio-tungstenite = { version = "0.21", optional = true } [dependencies.rocket] -version = "0.5.0" +version = "0.5.1" path = "../../core/lib" default-features = false diff --git a/core/codegen/Cargo.toml b/core/codegen/Cargo.toml index 8910837c..158b313c 100644 --- a/core/codegen/Cargo.toml +++ b/core/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_codegen" -version = "0.5.0" +version = "0.5.1" authors = ["Sergio Benitez "] description = "Procedural macros for the Rocket web framework." 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"] } proc-macro2 = "1.0.60" devise = "0.4" -rocket_http = { version = "0.5.0", path = "../http/" } +rocket_http = { version = "0.5.1", path = "../http/" } unicode-xid = "0.2" version_check = "0.9" glob = "0.3" diff --git a/core/codegen/src/lib.rs b/core/codegen/src/lib.rs index 1d22fe43..b292b799 100644 --- a/core/codegen/src/lib.rs +++ b/core/codegen/src/lib.rs @@ -21,7 +21,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0" +//! rocket = "0.5.1" //! ``` //! //! And to import all macros, attributes, and derives via `#[macro_use]` in the diff --git a/core/http/Cargo.toml b/core/http/Cargo.toml index ffe51dee..c1739cd6 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_http" -version = "0.5.0" +version = "0.5.1" authors = ["Sergio Benitez "] description = """ Types, traits, and parsers for HTTP requests, responses, and headers. diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index d16abcb5..50a74498 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket" -version = "0.5.0" +version = "0.5.1" authors = ["Sergio Benitez "] description = """ 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" [dependencies.rocket_codegen] -version = "0.5.0" +version = "0.5.1" path = "../codegen" [dependencies.rocket_http] -version = "0.5.0" +version = "0.5.1" path = "../http" features = ["serde"] diff --git a/core/lib/src/lib.rs b/core/lib/src/lib.rs index e4beeea2..e0c197cd 100644 --- a/core/lib/src/lib.rs +++ b/core/lib/src/lib.rs @@ -29,7 +29,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0" +//! rocket = "0.5.1" //! ``` //! //! Note that development versions, tagged with `-dev`, are not published @@ -73,14 +73,14 @@ //! //! ```toml //! [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: //! //! ```toml //! [dependencies] -//! rocket = { version = "0.5.0", default-features = false } +//! rocket = { version = "0.5.1", default-features = false } //! ``` //! //! [JSON (de)serialization]: crate::serde::json diff --git a/core/lib/src/serde/json.rs b/core/lib/src/serde/json.rs index 677b20e7..b7c27a2c 100644 --- a/core/lib/src/serde/json.rs +++ b/core/lib/src/serde/json.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket] -//! version = "0.5.0" +//! version = "0.5.1" //! features = ["json"] //! ``` //! diff --git a/core/lib/src/serde/msgpack.rs b/core/lib/src/serde/msgpack.rs index 7af49700..8449def4 100644 --- a/core/lib/src/serde/msgpack.rs +++ b/core/lib/src/serde/msgpack.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket] -//! version = "0.5.0" +//! version = "0.5.1" //! features = ["msgpack"] //! ``` //! diff --git a/core/lib/src/serde/uuid.rs b/core/lib/src/serde/uuid.rs index f834932a..bf7f724a 100644 --- a/core/lib/src/serde/uuid.rs +++ b/core/lib/src/serde/uuid.rs @@ -7,7 +7,7 @@ //! //! ```toml //! [dependencies.rocket] -//! version = "0.5.0" +//! version = "0.5.1" //! features = ["uuid"] //! ``` //! diff --git a/docs/guide/01-upgrading.md b/docs/guide/01-upgrading.md index 8aec3795..08942a7e 100644 --- a/docs/guide/01-upgrading.md +++ b/docs/guide/01-upgrading.md @@ -42,7 +42,7 @@ private cookies, you _must_ enable the `secrets` feature in `Cargo.toml`: ```toml [dependencies] -rocket = { version = "0.5.0", features = ["secrets"] } +rocket = { version = "0.5.1", features = ["secrets"] } ``` ### Contrib Deprecation @@ -63,7 +63,7 @@ to `Cargo.toml`: [dependencies] - rocket = "0.4" - 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"] } ``` diff --git a/docs/guide/03-getting-started.md b/docs/guide/03-getting-started.md index d41bac11..bb1f5cd8 100644 --- a/docs/guide/03-getting-started.md +++ b/docs/guide/03-getting-started.md @@ -47,7 +47,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`: ```toml [dependencies] -rocket = "0.5.0" +rocket = "0.5.1" ``` ! warning: Development versions must be _git_ dependencies. diff --git a/docs/guide/05-requests.md b/docs/guide/05-requests.md index 36367e4e..e5c73450 100644 --- a/docs/guide/05-requests.md +++ b/docs/guide/05-requests.md @@ -626,7 +626,7 @@ feature: ```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 @@ -805,7 +805,7 @@ complete example. feature can be enabled in the `Cargo.toml`: ```toml - rocket = { version = "0.5.0", features = ["json"] } + rocket = { version = "0.5.1", features = ["json"] } ``` ### Temporary Files diff --git a/docs/guide/10-configuration.md b/docs/guide/10-configuration.md index ea1d2189..0fdffb9d 100644 --- a/docs/guide/10-configuration.md +++ b/docs/guide/10-configuration.md @@ -243,7 +243,7 @@ Security). To enable TLS support: ```toml,ignore [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 @@ -308,7 +308,7 @@ enabled and support configured via the `tls.mutual` config parameter: ```toml,ignore [dependencies] - rocket = { version = "0.5.0", features = ["mtls"] } + rocket = { version = "0.5.1", features = ["mtls"] } ``` This implicitly enables the `tls` feature. diff --git a/docs/guide/12-pastebin.md b/docs/guide/12-pastebin.md index b796a2f4..8458991d 100644 --- a/docs/guide/12-pastebin.md +++ b/docs/guide/12-pastebin.md @@ -56,7 +56,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file: ```toml [dependencies] -rocket = "0.5.0" +rocket = "0.5.1" ``` And finally, create a skeleton Rocket application to work off of in diff --git a/docs/guide/14-faq.md b/docs/guide/14-faq.md index bbe3f6e3..7f88f4bf 100644 --- a/docs/guide/14-faq.md +++ b/docs/guide/14-faq.md @@ -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: ```toml -rocket = "0.5.0" +rocket = "0.5.1" rocket_db_pools = { git = "https://github.com/rwf2/Rocket.git" } ``` diff --git a/docs/tests/Cargo.toml b/docs/tests/Cargo.toml index d92ba0ad..6f9825af 100644 --- a/docs/tests/Cargo.toml +++ b/docs/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_docs_tests" -version = "0.5.0" +version = "0.5.1" workspace = "../../" edition = "2021" publish = false