From 4dcd92837f3a4626a28d4b25da8e6e560878d004 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Mon, 9 May 2022 05:40:34 -0500 Subject: [PATCH] New version: 0.5.0-rc.2. New contrib versions: 0.1.0-rc.2. --- contrib/db_pools/README.md | 2 +- contrib/db_pools/codegen/Cargo.toml | 2 +- contrib/db_pools/lib/Cargo.toml | 6 ++-- contrib/db_pools/lib/src/lib.rs | 4 +-- contrib/dyn_templates/Cargo.toml | 4 +-- contrib/dyn_templates/README.md | 2 +- contrib/dyn_templates/src/lib.rs | 2 +- contrib/sync_db_pools/README.md | 2 +- contrib/sync_db_pools/codegen/Cargo.toml | 2 +- contrib/sync_db_pools/lib/Cargo.toml | 6 ++-- contrib/sync_db_pools/lib/src/lib.rs | 2 +- core/codegen/Cargo.toml | 6 ++-- core/codegen/src/lib.rs | 2 +- core/http/Cargo.toml | 4 +-- core/lib/Cargo.toml | 6 ++-- core/lib/src/lib.rs | 6 ++-- core/lib/src/serde/json.rs | 2 +- core/lib/src/serde/msgpack.rs | 2 +- core/lib/src/serde/uuid.rs | 2 +- scripts/publish.sh | 20 ----------- site/guide/01-upgrading-from-0.4.md | 6 ++-- site/guide/10-pastebin.md | 2 +- site/guide/12-faq.md | 2 +- site/guide/2-getting-started.md | 2 +- site/guide/4-requests.md | 4 +-- site/guide/5-responses.md | 2 +- site/guide/9-configuration.md | 4 +-- site/index.toml | 4 +-- site/news/2022-05-09-version-0.5-rc.2.md | 43 ++++++++++++++++++++++++ site/news/index.toml | 17 ++++++++++ site/tests/Cargo.toml | 10 +++--- 31 files changed, 110 insertions(+), 70 deletions(-) create mode 100644 site/news/2022-05-09-version-0.5-rc.2.md diff --git a/contrib/db_pools/README.md b/contrib/db_pools/README.md index b35e4161..b5b1fde5 100644 --- a/contrib/db_pools/README.md +++ b/contrib/db_pools/README.md @@ -17,7 +17,7 @@ full usage details. ```toml [dependencies.rocket_db_pools] - version = "0.1.0-rc" + version = "0.1.0-rc.2" features = ["sqlx_sqlite"] ``` diff --git a/contrib/db_pools/codegen/Cargo.toml b/contrib/db_pools/codegen/Cargo.toml index cdae7fce..3ad2e78b 100644 --- a/contrib/db_pools/codegen/Cargo.toml +++ b/contrib/db_pools/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_db_pools_codegen" -version = "0.1.0-rc" +version = "0.1.0-rc.2" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "Procedural macros for rocket_db_pools." repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" diff --git a/contrib/db_pools/lib/Cargo.toml b/contrib/db_pools/lib/Cargo.toml index 8767824b..836cc89e 100644 --- a/contrib/db_pools/lib/Cargo.toml +++ b/contrib/db_pools/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_db_pools" -version = "0.1.0-rc" +version = "0.1.0-rc.2" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "Rocket async database pooling support" repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" @@ -27,12 +27,12 @@ sqlx_macros = ["sqlx/macros"] [dependencies.rocket] path = "../../../core/lib" -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" default-features = false [dependencies.rocket_db_pools_codegen] path = "../codegen" -version = "0.1.0-rc" +version = "0.1.0-rc.2" [dependencies.deadpool] version = "0.9" diff --git a/contrib/db_pools/lib/src/lib.rs b/contrib/db_pools/lib/src/lib.rs index 88947aae..afd81ae5 100644 --- a/contrib/db_pools/lib/src/lib.rs +++ b/contrib/db_pools/lib/src/lib.rs @@ -7,7 +7,7 @@ //! //! ```toml //! [dependencies.rocket_db_pools] -//! version = "0.1.0-rc" +//! version = "0.1.0-rc.2" //! features = ["sqlx_sqlite"] //! ``` //! @@ -146,7 +146,7 @@ //! features = ["macros", "offline", "migrate"] //! //! [dependencies.rocket_db_pools] -//! version = "0.1.0-rc" +//! version = "0.1.0-rc.2" //! features = ["sqlx_sqlite"] //! ``` //! diff --git a/contrib/dyn_templates/Cargo.toml b/contrib/dyn_templates/Cargo.toml index 8bf15c9d..a1ab7a14 100644 --- a/contrib/dyn_templates/Cargo.toml +++ b/contrib/dyn_templates/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_dyn_templates" -version = "0.1.0-rc.1" +version = "0.1.0-rc.2" authors = ["Sergio Benitez "] description = "Dynamic templating engine integration for Rocket." documentation = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/" @@ -22,7 +22,7 @@ notify = "4.0.6" normpath = "0.3" [dependencies.rocket] -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" path = "../../core/lib" default-features = false diff --git a/contrib/dyn_templates/README.md b/contrib/dyn_templates/README.md index c38ce630..a01e8912 100644 --- a/contrib/dyn_templates/README.md +++ b/contrib/dyn_templates/README.md @@ -22,7 +22,7 @@ supports [Handlebars] and [Tera]. ```toml [dependencies.rocket_dyn_templates] - version = "0.1.0-rc.1" + version = "0.1.0-rc.2" features = ["handlebars", "tera"] ``` diff --git a/contrib/dyn_templates/src/lib.rs b/contrib/dyn_templates/src/lib.rs index 91764a19..5410beb3 100644 --- a/contrib/dyn_templates/src/lib.rs +++ b/contrib/dyn_templates/src/lib.rs @@ -12,7 +12,7 @@ //! //! ```toml //! [dependencies.rocket_dyn_templates] -//! version = "0.1.0-rc.1" +//! version = "0.1.0-rc.2" //! features = ["handlebars", "tera"] //! ``` //! diff --git a/contrib/sync_db_pools/README.md b/contrib/sync_db_pools/README.md index e3035cb8..1eb5ea73 100644 --- a/contrib/sync_db_pools/README.md +++ b/contrib/sync_db_pools/README.md @@ -19,7 +19,7 @@ First, enable the feature corresponding to your database type: ```toml [dependencies.rocket_sync_db_pools] -version = "0.1.0-rc.1" +version = "0.1.0-rc.2" features = ["diesel_sqlite_pool"] ``` diff --git a/contrib/sync_db_pools/codegen/Cargo.toml b/contrib/sync_db_pools/codegen/Cargo.toml index a7bd2388..d8916bbf 100644 --- a/contrib/sync_db_pools/codegen/Cargo.toml +++ b/contrib/sync_db_pools/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_sync_db_pools_codegen" -version = "0.1.0-rc.1" +version = "0.1.0-rc.2" authors = ["Sergio Benitez "] description = "Procedural macros for rocket_sync_db_pools." repository = "https://github.com/SergioBenitez/Rocket/contrib/sync_db_pools" diff --git a/contrib/sync_db_pools/lib/Cargo.toml b/contrib/sync_db_pools/lib/Cargo.toml index 0d37acfc..1d8c2277 100644 --- a/contrib/sync_db_pools/lib/Cargo.toml +++ b/contrib/sync_db_pools/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_sync_db_pools" -version = "0.1.0-rc.1" +version = "0.1.0-rc.2" authors = ["Sergio Benitez "] description = "Rocket async database pooling support for sync database drivers." 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 } [dependencies.rocket_sync_db_pools_codegen] -version = "0.1.0-rc.1" +version = "0.1.0-rc.2" path = "../codegen" [dependencies.rocket] -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" path = "../../../core/lib" default-features = false diff --git a/contrib/sync_db_pools/lib/src/lib.rs b/contrib/sync_db_pools/lib/src/lib.rs index b8d0165e..ef05ac10 100644 --- a/contrib/sync_db_pools/lib/src/lib.rs +++ b/contrib/sync_db_pools/lib/src/lib.rs @@ -30,7 +30,7 @@ //! //! ```toml //! [dependencies.rocket_sync_db_pools] -//! version = "0.1.0-rc.1" +//! version = "0.1.0-rc.2" //! features = ["diesel_sqlite_pool"] //! ``` //! diff --git a/core/codegen/Cargo.toml b/core/codegen/Cargo.toml index d7deacd8..5c69415e 100644 --- a/core/codegen/Cargo.toml +++ b/core/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_codegen" -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" authors = ["Sergio Benitez "] description = "Procedural macros for the Rocket web framework." documentation = "https://api.rocket.rs/v0.5-rc/rocket_codegen/" @@ -21,12 +21,12 @@ quote = "1.0" syn = { version = "1.0.72", features = ["full", "visit", "visit-mut", "extra-traits"] } proc-macro2 = "1.0.27" devise = "0.3.1" -rocket_http = { version = "0.5.0-rc.1", path = "../http/" } +rocket_http = { version = "0.5.0-rc.2", path = "../http/" } unicode-xid = "0.2" glob = "0.3" [dev-dependencies] -rocket = { version = "0.5.0-rc.1", path = "../lib", features = ["json", "msgpack"] } +rocket = { path = "../lib", features = ["json", "msgpack"] } time = { version = "0.3", features = ["macros"] } pretty_assertions = "1" version_check = "0.9" diff --git a/core/codegen/src/lib.rs b/core/codegen/src/lib.rs index 5373a23c..876869b0 100644 --- a/core/codegen/src/lib.rs +++ b/core/codegen/src/lib.rs @@ -21,7 +21,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0-rc.1" +//! rocket = "0.5.0-rc.2" //! ``` //! //! 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 268bbbf3..ea6f7851 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_http" -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" authors = ["Sergio Benitez "] description = """ Types, traits, and parsers for HTTP requests, responses, and headers. @@ -69,4 +69,4 @@ optional = true default-features = false [dev-dependencies] -rocket = { version = "0.5.0-rc.1", path = "../lib", features = ["mtls"] } +rocket = { path = "../lib", features = ["mtls"] } diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index 7840a784..6f21b289 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket" -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" authors = ["Sergio Benitez "] description = """ Web framework with a focus on usability, security, extensibility, and speed. @@ -62,11 +62,11 @@ tokio-stream = { version = "0.1.6", features = ["signal", "time"] } state = "0.5.1" [dependencies.rocket_codegen] -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" path = "../codegen" [dependencies.rocket_http] -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" path = "../http" features = ["serde"] diff --git a/core/lib/src/lib.rs b/core/lib/src/lib.rs index 70bc6236..de46729e 100644 --- a/core/lib/src/lib.rs +++ b/core/lib/src/lib.rs @@ -29,7 +29,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0-rc.1" +//! rocket = "0.5.0-rc.2" //! ``` //! //! Note that development versions, tagged with `-dev`, are not published @@ -73,14 +73,14 @@ //! //! ```toml //! [dependencies] -//! rocket = { version = "0.5.0-rc.1", features = ["secrets", "tls", "json"] } +//! rocket = { version = "0.5.0-rc.2", features = ["secrets", "tls", "json"] } //! ``` //! //! Conversely, HTTP/2 can be disabled: //! //! ```toml //! [dependencies] -//! rocket = { version = "0.5.0-rc.1", default-features = false } +//! rocket = { version = "0.5.0-rc.2", 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 70ff50f0..8ce5f7f7 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-rc.1" +//! version = "0.5.0-rc.2" //! features = ["json"] //! ``` //! diff --git a/core/lib/src/serde/msgpack.rs b/core/lib/src/serde/msgpack.rs index 2bf1fc74..7985d5ec 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-rc.1" +//! version = "0.5.0-rc.2" //! features = ["msgpack"] //! ``` //! diff --git a/core/lib/src/serde/uuid.rs b/core/lib/src/serde/uuid.rs index f747e8d1..2a682218 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-rc.1" +//! version = "0.5.0-rc.2" //! features = ["uuid"] //! ``` //! diff --git a/scripts/publish.sh b/scripts/publish.sh index a96ec41e..cdef8aed 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -9,14 +9,6 @@ set -e SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "${SCRIPT_DIR}/config.sh" -function strip_dev_dependencies() { - perl -i.bak -p0e 's/\[dev-dependencies\].*//smg' "${1}/Cargo.toml" -} - -function restore_dev_dependencies() { - mv "${1}/Cargo.toml.bak" "${1}/Cargo.toml" -} - if ! [ -z "$(git status --porcelain)" ]; then echo "There are uncommitted changes! Aborting." exit 1 @@ -28,12 +20,6 @@ cargo clean bash "${SCRIPT_DIR}/test.sh" +stable --all bash "${SCRIPT_DIR}/test.sh" +stable --all --release -# Temporarily remove dev-dependencies so crates.io verifies. -echo ":::: Stripping [dev-dependencies]..." -for dir in "${ALL_CRATE_ROOTS[@]}"; do - strip_dev_dependencies "${dir}" -done - # Publish all the things. for dir in "${ALL_CRATE_ROOTS[@]}"; do pushd "${dir}" @@ -44,9 +30,3 @@ for dir in "${ALL_CRATE_ROOTS[@]}"; do sleep 5 popd done - -# Restore dev-dependencies. -echo ":::: Restoring [dev-dependencies]..." -for dir in "${ALL_CRATE_ROOTS[@]}"; do - restore_dev_dependencies "${dir}" -done diff --git a/site/guide/01-upgrading-from-0.4.md b/site/guide/01-upgrading-from-0.4.md index b948b8b7..0abd80bb 100644 --- a/site/guide/01-upgrading-from-0.4.md +++ b/site/guide/01-upgrading-from-0.4.md @@ -39,7 +39,7 @@ private cookies, you _must_ enable the `secrets` feature in `Cargo.toml`: ```toml [dependencies] -rocket = { version = "0.5.0-rc.1", features = ["secrets"] } +rocket = { version = "0.5.0-rc.2", features = ["secrets"] } ``` ### Contrib Deprecation @@ -60,8 +60,8 @@ to `Cargo.toml`: [dependencies] - rocket = "0.4" - rocket_contrib = { version = "0.4", features = ["json"], default-features = false } -+ rocket = { version = "0.5.0-rc.1", features = ["json"] } -+ rocket_dyn_templates = { version = "0.1.0-rc.1", features = ["tera"] } ++ rocket = { version = "0.5.0-rc.2", features = ["json"] } ++ rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] } ``` ! note: `rocket_dyn_templates` (and co.) _does not_ follow in version lock-step diff --git a/site/guide/10-pastebin.md b/site/guide/10-pastebin.md index 9c2a84e0..fbbc6dfb 100644 --- a/site/guide/10-pastebin.md +++ b/site/guide/10-pastebin.md @@ -52,7 +52,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file: ```toml [dependencies] -rocket = "0.5.0-rc.1" +rocket = "0.5.0-rc.2" ``` And finally, create a skeleton Rocket application to work off of in diff --git a/site/guide/12-faq.md b/site/guide/12-faq.md index 05c7a3b3..6ef96916 100644 --- a/site/guide/12-faq.md +++ b/site/guide/12-faq.md @@ -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: ```toml -rocket = "0.5.0-rc.1" +rocket = "0.5.0-rc.2" rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" } ``` diff --git a/site/guide/2-getting-started.md b/site/guide/2-getting-started.md index b9916e1d..9f54226d 100644 --- a/site/guide/2-getting-started.md +++ b/site/guide/2-getting-started.md @@ -43,7 +43,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`: ```toml [dependencies] -rocket = "0.5.0-rc.1" +rocket = "0.5.0-rc.2" ``` ! warning: Development versions must be _git_ dependencies. diff --git a/site/guide/4-requests.md b/site/guide/4-requests.md index 4416f235..96c0cb9e 100644 --- a/site/guide/4-requests.md +++ b/site/guide/4-requests.md @@ -527,7 +527,7 @@ feature: ```toml ## in Cargo.toml -rocket = { version = "0.5.0-rc.1", features = ["secrets"] } +rocket = { version = "0.5.0-rc.2", features = ["secrets"] } ``` The API for retrieving, adding, and removing private cookies is identical except @@ -705,7 +705,7 @@ complete example. feature can be enabled in the `Cargo.toml`: ` - rocket = { version = "0.5.0-rc.1", features = ["json"] } + rocket = { version = "0.5.0-rc.2", features = ["json"] } ` ### Temporary Files diff --git a/site/guide/5-responses.md b/site/guide/5-responses.md index 60dd56c3..23b69e91 100644 --- a/site/guide/5-responses.md +++ b/site/guide/5-responses.md @@ -144,7 +144,7 @@ generated by `Status` for these and other codes: | 100, [200, 205] | Empty with given status. | | All others. | Invalid. Errors to `500` catcher. | -[`Status`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.Status.html +[`Status`]: @api/rocket/http/struct.Status.html ## Custom Responders diff --git a/site/guide/9-configuration.md b/site/guide/9-configuration.md index e2328cb1..78c59cab 100644 --- a/site/guide/9-configuration.md +++ b/site/guide/9-configuration.md @@ -228,7 +228,7 @@ Security). To enable TLS support: ```toml,ignore [dependencies] - rocket = { version = "0.5.0-rc.1", features = ["tls"] } + rocket = { version = "0.5.0-rc.2", features = ["tls"] } ``` 2. Configure a TLS certificate chain and private key via the `tls.key` and @@ -293,7 +293,7 @@ enabled and support configured via the `tls.mutual` config parameter: ```toml,ignore [dependencies] - rocket = { version = "0.5.0-rc.1", features = ["mtls"] } + rocket = { version = "0.5.0-rc.2", features = ["mtls"] } ``` This implicitly enables the `tls` feature. diff --git a/site/index.toml b/site/index.toml index 9a7309eb..e2d5ac38 100644 --- a/site/index.toml +++ b/site/index.toml @@ -3,8 +3,8 @@ ############################################################################### [release] -version = "0.5.0-rc.1" -date = "Jun 09, 2021" +version = "0.5.0-rc.2" +date = "May 09, 2022" ############################################################################### # Top features: displayed in the header under the introductory text. diff --git a/site/news/2022-05-09-version-0.5-rc.2.md b/site/news/2022-05-09-version-0.5-rc.2.md new file mode 100644 index 00000000..dd7596c8 --- /dev/null +++ b/site/news/2022-05-09-version-0.5-rc.2.md @@ -0,0 +1,43 @@ +# Rocket 2nd v0.5 Release Candidate + + + +Rocket `0.5.0-rc.2`, 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 second +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.1, please see the [CHANGELOG]. + +Barring any major issues, of which none are expected, the general release of +Rocket v0.5 is planned for late May 2022, when we'll post a full news article +covering the biggest features and changes in Rocket v0.5. Until then, the +[CHANGELOG] contains every feature addition, change, and improvement since +v0.5.0-rc.1 and v0.4. All documentation, including the [guide] and [API docs], +has been updated in full for the second release candidate. + +We're excited for your feedback, and we look forward to seeing you again soon +for the general release! + +[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues +[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions +[migration guide]: ../../guide/upgrading-from-0.4 +[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc2-may-9-2022 +[API docs]: @api +[guide]: ../../guide + +## 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). diff --git a/site/news/index.toml b/site/news/index.toml index 134867b6..bd238b5a 100644 --- a/site/news/index.toml +++ b/site/news/index.toml @@ -1,3 +1,20 @@ +[[articles]] +title = """ + Rocket's 2nd v0.5 Release Candidate +""" +slug = "2022-05-09-version-0.5-rc.2" +author = "Sergio Benitez" +author_url = "https://sergio.bz" +date = "May 09, 2022" +snippet = """ +Rocket `0.5.0-rc.2`, 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. +""" + [[articles]] title = """ Rocket v0.5 Release Candidate diff --git a/site/tests/Cargo.toml b/site/tests/Cargo.toml index 03cd22eb..05be9446 100644 --- a/site/tests/Cargo.toml +++ b/site/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_guide_tests" -version = "0.5.0-rc.1" +version = "0.5.0-rc.2" workspace = "../../" edition = "2021" publish = false @@ -9,7 +9,7 @@ publish = false rocket = { path = "../../core/lib", features = ["secrets"] } [dev-dependencies] -rocket = { path = "../../core/lib", features = ["secrets", "json"] } +rocket = { path = "../../core/lib", features = ["secrets", "json", "mtls"] } rand = "0.8" figment = { version = "0.10", features = ["toml", "env"] } @@ -17,6 +17,6 @@ figment = { version = "0.10", features = ["toml", "env"] } path = "../../contrib/dyn_templates" features = ["tera"] -[dev-dependencies.rocket_sync_db_pools] -path = "../../contrib/sync_db_pools/lib" -features = ["diesel_sqlite_pool"] +[dev-dependencies.rocket_db_pools] +path = "../../contrib/db_pools/lib" +features = ["sqlx_sqlite"]