Update version numbers for 0.5.0.

This commit is contained in:
Sergio Benitez 2023-11-03 18:26:07 -05:00
parent 3c4571850c
commit 38ae8d6317
52 changed files with 277 additions and 277 deletions

View File

@ -8,7 +8,7 @@ This release introduces the following major features and improvements:
* A rewritten, fully asynchronous core with support for [`async`/`await`]. * A rewritten, fully asynchronous core with support for [`async`/`await`].
* WebSocket support via [`rocket_ws`]. * WebSocket support via [`rocket_ws`].
* [Feature-complete forms support] including multipart, collections, [ad-hoc validation], and * [Feature-complete forms support] including multipart, collections, [ad-hoc validation], and
[context](https://rocket.rs/v0.5-rc/guide/requests/#context). [context](https://rocket.rs/v0.5/guide/requests/#context).
* [Sentinels]: automatic verification of application state at start-up to prevent runtime errors. * [Sentinels]: automatic verification of application state at start-up to prevent runtime errors.
* [Graceful shutdown] with configurable signaling, grace periods, [notification], and * [Graceful shutdown] with configurable signaling, grace periods, [notification], and
[shutdown fairings]. [shutdown fairings].
@ -28,8 +28,8 @@ This release introduces the following major features and improvements:
* [Ignorable segments]: wildcard route matching with no typing restrictions. * [Ignorable segments]: wildcard route matching with no typing restrictions.
* First-class [support for `serde`] for built-in guards and types. * First-class [support for `serde`] for built-in guards and types.
* New application launch attributes: * New application launch attributes:
[`#[launch]`](https://api.rocket.rs/v0.5-rc/rocket/attr.launch.html) and [`#[launch]`](https://api.rocket.rs/v0.5/rocket/attr.launch.html) and
[`#[rocket::main]`](https://api.rocket.rs/v0.5-rc/rocket/attr.main.html). [`#[rocket::main]`](https://api.rocket.rs/v0.5/rocket/attr.main.html).
* [Default catchers] via `#[catch(default)]`, which handle _any_ status code. * [Default catchers] via `#[catch(default)]`, which handle _any_ status code.
* [Catcher scoping] to narrow the scope of a catcher to a URI prefix. * [Catcher scoping] to narrow the scope of a catcher to a URI prefix.
* Built-in libraries and support for [asynchronous testing]. * Built-in libraries and support for [asynchronous testing].
@ -48,7 +48,7 @@ This release introduces the following major features and improvements:
* Borrowed byte slices as data and form guards. * Borrowed byte slices as data and form guards.
* Fail-fast behavior for [misconfigured secrets], file serving paths. * Fail-fast behavior for [misconfigured secrets], file serving paths.
* Support for generics and custom generic bounds in * Support for generics and custom generic bounds in
[`#[derive(Responder)]`](https://api.rocket.rs/v0.5-rc/rocket/derive.Responder.html). [`#[derive(Responder)]`](https://api.rocket.rs/v0.5/rocket/derive.Responder.html).
* [Default ranking colors], which prevent more routing collisions automatically. * [Default ranking colors], which prevent more routing collisions automatically.
* Improved error logging with suggestions when common errors are detected. * Improved error logging with suggestions when common errors are detected.
* Completely rewritten examples including a new real-time [`chat`] application. * Completely rewritten examples including a new real-time [`chat`] application.
@ -172,7 +172,7 @@ The `rocket_contrib` crate is deprecated and the functionality moved to other `r
- These crates are versioned and released independently of `rocket`. - These crates are versioned and released independently of `rocket`.
- `rocket_contrib::databases::DbError` is now `rocket_sync_db_pools::Error`. - `rocket_contrib::databases::DbError` is now `rocket_sync_db_pools::Error`.
- Removed `redis`, `mongodb`, and `mysql` integrations which have upstream `async` drivers. - Removed `redis`, `mongodb`, and `mysql` integrations which have upstream `async` drivers.
- The [`#[database]`](https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/attr.database.html) - The [`#[database]`](https://api.rocket.rs/v0.5/rocket_sync_db_pools/attr.database.html)
attribute generates an [`async run()`] method instead of `Deref` implementations. attribute generates an [`async run()`] method instead of `Deref` implementations.
### General ### General
@ -441,7 +441,7 @@ In addition to new features and changes, Rocket saw the following improvements:
* Added support for the `X-DNS-Prefetch-Control` header to `Shield`. * Added support for the `X-DNS-Prefetch-Control` header to `Shield`.
* Added support for manually-set `expires` values for private cookies. * Added support for manually-set `expires` values for private cookies.
* Added support for type generics and custom generic bounds to * Added support for type generics and custom generic bounds to
[`#[derive(Responder)]`](https://api.rocket.rs/v0.5-rc/rocket/derive.Responder.html). [`#[derive(Responder)]`](https://api.rocket.rs/v0.5/rocket/derive.Responder.html).
* The `Server` header is only set if one isn't already set. * The `Server` header is only set if one isn't already set.
* Accurate `Content-Length` headers are sent even for partially read `Body`s. * Accurate `Content-Length` headers are sent even for partially read `Body`s.
* [`Redirect`] now accepts a `TryFrom<Reference>`, allowing fragment parts. * [`Redirect`] now accepts a `TryFrom<Reference>`, allowing fragment parts.
@ -548,178 +548,178 @@ The following changes were made to the project's infrastructure:
* The CI now frees disk space before proceeding to avoid out-of-disk errors. * The CI now frees disk space before proceeding to avoid out-of-disk errors.
* All workspaces now use `resolver = 2`. * All workspaces now use `resolver = 2`.
[phase]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#phases [phase]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#phases
[`async`/`await`]: https://rocket.rs/v0.5-rc/guide/overview/#async-routes [`async`/`await`]: https://rocket.rs/v0.5/guide/overview/#async-routes
[compilation on Rust's stable]: https://rocket.rs/v0.5-rc/guide/getting-started/#installing-rust [compilation on Rust's stable]: https://rocket.rs/v0.5/guide/getting-started/#installing-rust
[Feature-complete forms support]: https://rocket.rs/v0.5-rc/guide/requests/#forms [Feature-complete forms support]: https://rocket.rs/v0.5/guide/requests/#forms
[configuration system]: https://rocket.rs/v0.5-rc/guide/configuration/#configuration [configuration system]: https://rocket.rs/v0.5/guide/configuration/#configuration
[graceful shutdown]: https://api.rocket.rs/v0.5-rc/rocket/config/struct.Shutdown.html#summary [graceful shutdown]: https://api.rocket.rs/v0.5/rocket/config/struct.Shutdown.html#summary
[asynchronous testing]: https://rocket.rs/v0.5-rc/guide/testing/#asynchronous-testing [asynchronous testing]: https://rocket.rs/v0.5/guide/testing/#asynchronous-testing
[UTF-8 characters]: https://rocket.rs/v0.5-rc/guide/requests/#static-parameters [UTF-8 characters]: https://rocket.rs/v0.5/guide/requests/#static-parameters
[ignorable segments]: https://rocket.rs/v0.5-rc/guide/requests/#ignored-segments [ignorable segments]: https://rocket.rs/v0.5/guide/requests/#ignored-segments
[Catcher scoping]: https://rocket.rs/v0.5-rc/guide/requests/#scoping [Catcher scoping]: https://rocket.rs/v0.5/guide/requests/#scoping
[ad-hoc validation]: https://rocket.rs/v0.5-rc/guide/requests#ad-hoc-validation [ad-hoc validation]: https://rocket.rs/v0.5/guide/requests#ad-hoc-validation
[incoming data limits]: https://rocket.rs/v0.5-rc/guide/requests/#streaming [incoming data limits]: https://rocket.rs/v0.5/guide/requests/#streaming
[build phases]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#phases [build phases]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#phases
[Singleton fairings]: https://api.rocket.rs/v0.5-rc/rocket/fairing/trait.Fairing.html#singletons [Singleton fairings]: https://api.rocket.rs/v0.5/rocket/fairing/trait.Fairing.html#singletons
[features into core]: https://api.rocket.rs/v0.5-rc/rocket/index.html#features [features into core]: https://api.rocket.rs/v0.5/rocket/index.html#features
[features of `rocket`]: https://api.rocket.rs/v0.5-rc/rocket/index.html#features [features of `rocket`]: https://api.rocket.rs/v0.5/rocket/index.html#features
[Data limit declaration in SI units]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.ByteUnit.html [Data limit declaration in SI units]: https://api.rocket.rs/v0.5/rocket/data/struct.ByteUnit.html
[support for `serde`]: https://api.rocket.rs/v0.5-rc/rocket/serde/index.html [support for `serde`]: https://api.rocket.rs/v0.5/rocket/serde/index.html
[automatic typed config extraction]: https://api.rocket.rs/v0.5-rc/rocket/fairing/struct.AdHoc.html#method.config [automatic typed config extraction]: https://api.rocket.rs/v0.5/rocket/fairing/struct.AdHoc.html#method.config
[misconfigured secrets]: https://api.rocket.rs/v0.5-rc/rocket/config/struct.SecretKey.html [misconfigured secrets]: https://api.rocket.rs/v0.5/rocket/config/struct.SecretKey.html
[default ranking colors]: https://rocket.rs/v0.5-rc/guide/requests/#default-ranking [default ranking colors]: https://rocket.rs/v0.5/guide/requests/#default-ranking
[`chat`]: https://github.com/SergioBenitez/Rocket/tree/v0.5-rc/examples/chat [`chat`]: https://github.com/SergioBenitez/Rocket/tree/v0.5/examples/chat
[`Form` guard]: https://api.rocket.rs/v0.5-rc/rocket/form/struct.Form.html [`Form` guard]: https://api.rocket.rs/v0.5/rocket/form/struct.Form.html
[`Strict`]: https://api.rocket.rs/v0.5-rc/rocket/form/struct.Strict.html [`Strict`]: https://api.rocket.rs/v0.5/rocket/form/struct.Strict.html
[`CookieJar`#pending]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.CookieJar.html#pending [`CookieJar`#pending]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html#pending
[`rocket::serde::json`]: https://api.rocket.rs/v0.5-rc/rocket/serde/json/index.html [`rocket::serde::json`]: https://api.rocket.rs/v0.5/rocket/serde/json/index.html
[`rocket::serde::msgpack`]: https://api.rocket.rs/v0.5-rc/rocket/serde/msgpack/index.html [`rocket::serde::msgpack`]: https://api.rocket.rs/v0.5/rocket/serde/msgpack/index.html
[`rocket::serde::uuid`]: https://api.rocket.rs/v0.5-rc/rocket/serde/uuid/index.html [`rocket::serde::uuid`]: https://api.rocket.rs/v0.5/rocket/serde/uuid/index.html
[`rocket::shield`]: https://api.rocket.rs/v0.5-rc/rocket/shield/index.html [`rocket::shield`]: https://api.rocket.rs/v0.5/rocket/shield/index.html
[`rocket::fs`]: https://api.rocket.rs/v0.5-rc/rocket/fs/index.html [`rocket::fs`]: https://api.rocket.rs/v0.5/rocket/fs/index.html
[`async run()`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/index.html#handlers [`async run()`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/index.html#handlers
[`LocalRequest::json()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.json [`LocalRequest::json()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.json
[`LocalRequest::msgpack()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.msgpack [`LocalRequest::msgpack()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.msgpack
[`LocalResponse::json()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalResponse.html#method.json [`LocalResponse::json()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalResponse.html#method.json
[`LocalResponse::msgpack()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalResponse.html#method.msgpack [`LocalResponse::msgpack()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalResponse.html#method.msgpack
[hierarchical data limits]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.Limits.html#hierarchy [hierarchical data limits]: https://api.rocket.rs/v0.5/rocket/data/struct.Limits.html#hierarchy
[default form field values]: https://rocket.rs/v0.5-rc/guide/requests/#defaults [default form field values]: https://rocket.rs/v0.5/guide/requests/#defaults
[`Config::ident`]: https://api.rocket.rs/rocket/struct.Config.html#structfield.ident [`Config::ident`]: https://api.rocket.rs/rocket/struct.Config.html#structfield.ident
[`tokio`]: https://tokio.rs/ [`tokio`]: https://tokio.rs/
[Figment]: https://docs.rs/figment/0.10/figment/ [Figment]: https://docs.rs/figment/0.10/figment/
[`TempFile`]: https://api.rocket.rs/v0.5-rc/rocket/fs/enum.TempFile.html [`TempFile`]: https://api.rocket.rs/v0.5/rocket/fs/enum.TempFile.html
[`Contextual`]: https://rocket.rs/v0.5-rc/guide/requests/#context [`Contextual`]: https://rocket.rs/v0.5/guide/requests/#context
[`Capped<T>`]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.Capped.html [`Capped<T>`]: https://api.rocket.rs/v0.5/rocket/data/struct.Capped.html
[default catchers]: https://rocket.rs/v0.5-rc/guide/requests/#default-catchers [default catchers]: https://rocket.rs/v0.5/guide/requests/#default-catchers
[URI types]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/index.html [URI types]: https://api.rocket.rs/v0.5/rocket/http/uri/index.html
[`uri!`]: https://api.rocket.rs/v0.5-rc/rocket/macro.uri.html [`uri!`]: https://api.rocket.rs/v0.5/rocket/macro.uri.html
[`Reference`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Reference.html [`Reference`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Reference.html
[`Asterisk`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Asterisk.html [`Asterisk`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Asterisk.html
[`Redirect`]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Redirect.html [`Redirect`]: https://api.rocket.rs/v0.5/rocket/response/struct.Redirect.html
[`UriDisplayQuery`]: https://api.rocket.rs/v0.5-rc/rocket/derive.UriDisplayQuery.html [`UriDisplayQuery`]: https://api.rocket.rs/v0.5/rocket/derive.UriDisplayQuery.html
[`Shield`]: https://api.rocket.rs/v0.5-rc/rocket/shield/struct.Shield.html [`Shield`]: https://api.rocket.rs/v0.5/rocket/shield/struct.Shield.html
[Sentinels]: https://api.rocket.rs/v0.5-rc/rocket/trait.Sentinel.html [Sentinels]: https://api.rocket.rs/v0.5/rocket/trait.Sentinel.html
[`local_cache!`]: https://api.rocket.rs/v0.5-rc/rocket/request/macro.local_cache.html [`local_cache!`]: https://api.rocket.rs/v0.5/rocket/request/macro.local_cache.html
[`local_cache_once!`]: https://api.rocket.rs/v0.5-rc/rocket/request/macro.local_cache_once.html [`local_cache_once!`]: https://api.rocket.rs/v0.5/rocket/request/macro.local_cache_once.html
[`CookieJar`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.CookieJar.html [`CookieJar`]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html
[asynchronous streams]: https://rocket.rs/v0.5-rc/guide/responses/#async-streams [asynchronous streams]: https://rocket.rs/v0.5/guide/responses/#async-streams
[Server-Sent Events]: https://api.rocket.rs/v0.5-rc/rocket/response/stream/struct.EventStream.html [Server-Sent Events]: https://api.rocket.rs/v0.5/rocket/response/stream/struct.EventStream.html
[`fs::relative!`]: https://api.rocket.rs/v0.5-rc/rocket/fs/macro.relative.html [`fs::relative!`]: https://api.rocket.rs/v0.5/rocket/fs/macro.relative.html
[notification]: https://api.rocket.rs/v0.5-rc/rocket/struct.Shutdown.html [notification]: https://api.rocket.rs/v0.5/rocket/struct.Shutdown.html
[`Rocket`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html [`Rocket`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html
[`rocket::build()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.build [`rocket::build()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.build
[`Rocket::ignite()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.ignite [`Rocket::ignite()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.ignite
[`Rocket::launch()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.launch [`Rocket::launch()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.launch
[`Request::rocket()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.rocket [`Request::rocket()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.rocket
[Fairings]: https://rocket.rs/v0.5-rc/guide/fairings/ [Fairings]: https://rocket.rs/v0.5/guide/fairings/
[configuration system]: https://rocket.rs/v0.5-rc/guide/configuration/ [configuration system]: https://rocket.rs/v0.5/guide/configuration/
[`Poolable`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/trait.Poolable.html [`Poolable`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/trait.Poolable.html
[`Config`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Config.html [`Config`]: https://api.rocket.rs/v0.5/rocket/struct.Config.html
[`Error`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Error.html [`Error`]: https://api.rocket.rs/v0.5/rocket/struct.Error.html
[`LogLevel`]: https://api.rocket.rs/v0.5-rc/rocket/config/enum.LogLevel.html [`LogLevel`]: https://api.rocket.rs/v0.5/rocket/config/enum.LogLevel.html
[`Rocket::register()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.register [`Rocket::register()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.register
[`NamedFile::open`]: https://api.rocket.rs/v0.5-rc/rocket/fs/struct.NamedFile.html#method.open [`NamedFile::open`]: https://api.rocket.rs/v0.5/rocket/fs/struct.NamedFile.html#method.open
[`Request::local_cache_async()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.local_cache_async [`Request::local_cache_async()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.local_cache_async
[`FromRequest`]: https://api.rocket.rs/v0.5-rc/rocket/request/trait.FromRequest.html [`FromRequest`]: https://api.rocket.rs/v0.5/rocket/request/trait.FromRequest.html
[`Fairing`]: https://api.rocket.rs/v0.5-rc/rocket/fairing/trait.Fairing.html [`Fairing`]: https://api.rocket.rs/v0.5/rocket/fairing/trait.Fairing.html
[`catcher::Handler`]: https://api.rocket.rs/v0.5-rc/rocket/catcher/trait.Handler.html [`catcher::Handler`]: https://api.rocket.rs/v0.5/rocket/catcher/trait.Handler.html
[`route::Handler`]: https://api.rocket.rs/v0.5-rc/rocket/route/trait.Handler.html [`route::Handler`]: https://api.rocket.rs/v0.5/rocket/route/trait.Handler.html
[`FromData`]: https://api.rocket.rs/v0.5-rc/rocket/data/trait.FromData.html [`FromData`]: https://api.rocket.rs/v0.5/rocket/data/trait.FromData.html
[`AsyncRead`]: https://docs.rs/tokio/1/tokio/io/trait.AsyncRead.html [`AsyncRead`]: https://docs.rs/tokio/1/tokio/io/trait.AsyncRead.html
[`AsyncSeek`]: https://docs.rs/tokio/1/tokio/io/trait.AsyncSeek.html [`AsyncSeek`]: https://docs.rs/tokio/1/tokio/io/trait.AsyncSeek.html
[`rocket::local::asynchronous`]: https://api.rocket.rs/v0.5-rc/rocket/local/asynchronous/index.html [`rocket::local::asynchronous`]: https://api.rocket.rs/v0.5/rocket/local/asynchronous/index.html
[`rocket::local::blocking`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/index.html [`rocket::local::blocking`]: https://api.rocket.rs/v0.5/rocket/local/blocking/index.html
[`Outcome`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/enum.Outcome.html [`Outcome`]: https://api.rocket.rs/v0.5/rocket/outcome/enum.Outcome.html
[`rocket::outcome::try_outcome!`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/macro.try_outcome.html [`rocket::outcome::try_outcome!`]: https://api.rocket.rs/v0.5/rocket/outcome/macro.try_outcome.html
[`Result<T, E>` implements `Responder`]: https://api.rocket.rs/v0.5-rc/rocket/response/trait.Responder.html#provided-implementations [`Result<T, E>` implements `Responder`]: https://api.rocket.rs/v0.5/rocket/response/trait.Responder.html#provided-implementations
[`Debug`]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Debug.html [`Debug`]: https://api.rocket.rs/v0.5/rocket/response/struct.Debug.html
[`std::convert::Infallible`]: https://doc.rust-lang.org/stable/std/convert/enum.Infallible.html [`std::convert::Infallible`]: https://doc.rust-lang.org/stable/std/convert/enum.Infallible.html
[`ErrorKind::Collisions`]: https://api.rocket.rs/v0.5-rc/rocket/error/enum.ErrorKind.html#variant.Collisions [`ErrorKind::Collisions`]: https://api.rocket.rs/v0.5/rocket/error/enum.ErrorKind.html#variant.Collisions
[`rocket::http::uri::fmt`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/fmt/index.html [`rocket::http::uri::fmt`]: https://api.rocket.rs/v0.5/rocket/http/uri/fmt/index.html
[`Data::open()`]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.Data.html#method.open [`Data::open()`]: https://api.rocket.rs/v0.5/rocket/data/struct.Data.html#method.open
[`DataStream`]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.DataStream.html [`DataStream`]: https://api.rocket.rs/v0.5/rocket/data/struct.DataStream.html
[`rocket::form`]: https://api.rocket.rs/v0.5-rc/rocket/form/index.html [`rocket::form`]: https://api.rocket.rs/v0.5/rocket/form/index.html
[`FromFormField`]: https://api.rocket.rs/v0.5-rc/rocket/form/trait.FromFormField.html [`FromFormField`]: https://api.rocket.rs/v0.5/rocket/form/trait.FromFormField.html
[`FromForm`]: https://api.rocket.rs/v0.5-rc/rocket/form/trait.FromForm.html [`FromForm`]: https://api.rocket.rs/v0.5/rocket/form/trait.FromForm.html
[`FlashMessage`]: https://api.rocket.rs/v0.5-rc/rocket/request/type.FlashMessage.html [`FlashMessage`]: https://api.rocket.rs/v0.5/rocket/request/type.FlashMessage.html
[`Flash`]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Flash.html [`Flash`]: https://api.rocket.rs/v0.5/rocket/response/struct.Flash.html
[`rocket::State`]: https://api.rocket.rs/v0.5-rc/rocket/struct.State.html [`rocket::State`]: https://api.rocket.rs/v0.5/rocket/struct.State.html
[`Segments<Path>` and `Segments<Query>`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Segments.html [`Segments<Path>` and `Segments<Query>`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Segments.html
[`Route::map_base()`]: https://api.rocket.rs/v0.5-rc/rocket/route/struct.Route.html#method.map_base [`Route::map_base()`]: https://api.rocket.rs/v0.5/rocket/route/struct.Route.html#method.map_base
[`uuid` support]: https://api.rocket.rs/v0.5-rc/rocket/serde/uuid/index.html [`uuid` support]: https://api.rocket.rs/v0.5/rocket/serde/uuid/index.html
[`json`]: https://api.rocket.rs/v0.5-rc/rocket/serde/json/index.html [`json`]: https://api.rocket.rs/v0.5/rocket/serde/json/index.html
[`msgpack`]: https://api.rocket.rs/v0.5-rc/rocket/serde/msgpack/index.html [`msgpack`]: https://api.rocket.rs/v0.5/rocket/serde/msgpack/index.html
[`rocket::serde::json::json!`]: https://api.rocket.rs/v0.5-rc/rocket/serde/json/macro.json.html [`rocket::serde::json::json!`]: https://api.rocket.rs/v0.5/rocket/serde/json/macro.json.html
[`rocket::shield::Shield`]: https://api.rocket.rs/v0.5-rc/rocket/shield/struct.Shield.html [`rocket::shield::Shield`]: https://api.rocket.rs/v0.5/rocket/shield/struct.Shield.html
[`rocket::fs::FileServer`]: https://api.rocket.rs/v0.5-rc/rocket/fs/struct.FileServer.html [`rocket::fs::FileServer`]: https://api.rocket.rs/v0.5/rocket/fs/struct.FileServer.html
[`rocket_dyn_templates`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/index.html [`rocket_dyn_templates`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/index.html
[`rocket_sync_db_pools`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/index.html [`rocket_sync_db_pools`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/index.html
[multitasking]: https://rocket.rs/v0.5-rc/guide/overview/#multitasking [multitasking]: https://rocket.rs/v0.5/guide/overview/#multitasking
[`Created<R>`]: https://api.rocket.rs/v0.5-rc/rocket/response/status/struct.Created.html [`Created<R>`]: https://api.rocket.rs/v0.5/rocket/response/status/struct.Created.html
[`Created::tagged_body`]: https://api.rocket.rs/v0.5-rc/rocket/response/status/struct.Created.html#method.tagged_body [`Created::tagged_body`]: https://api.rocket.rs/v0.5/rocket/response/status/struct.Created.html#method.tagged_body
[raw identifiers]: https://doc.rust-lang.org/1.51.0/book/appendix-01-keywords.html#raw-identifiers [raw identifiers]: https://doc.rust-lang.org/1.51.0/book/appendix-01-keywords.html#raw-identifiers
[`Rocket::config()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.config [`Rocket::config()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.config
[`Rocket::figment()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.figment [`Rocket::figment()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.figment
[`Rocket::state()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.state [`Rocket::state()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.state
[`Rocket::catchers()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.catchers [`Rocket::catchers()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.catchers
[`LocalRequest::inner_mut()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.inner_mut [`LocalRequest::inner_mut()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.inner_mut
[`RawStrBuf`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStrBuf.html [`RawStrBuf`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStrBuf.html
[`RawStr`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html [`RawStr`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html
[`RawStr::percent_encode()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html#method.percent_encode [`RawStr::percent_encode()`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html#method.percent_encode
[`RawStr::percent_encode_bytes()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html#method.percent_encode_bytes [`RawStr::percent_encode_bytes()`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html#method.percent_encode_bytes
[`RawStr::strip()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html#method.strip_prefix [`RawStr::strip()`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html#method.strip_prefix
[`rocket::catcher`]: https://api.rocket.rs/v0.5-rc/rocket/catcher/index.html [`rocket::catcher`]: https://api.rocket.rs/v0.5/rocket/catcher/index.html
[`rocket::route`]: https://api.rocket.rs/v0.5-rc/rocket/route/index.html [`rocket::route`]: https://api.rocket.rs/v0.5/rocket/route/index.html
[`Segments::prefix_of()`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Segments.html#method.prefix_of [`Segments::prefix_of()`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Segments.html#method.prefix_of
[`Template::try_custom()`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Template.html#method.try_custom [`Template::try_custom()`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/struct.Template.html#method.try_custom
[`Template::custom`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Template.html#method.custom [`Template::custom`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/struct.Template.html#method.custom
[`FileServer::new()`]: https://api.rocket.rs/v0.5-rc/rocket/fs/struct.FileServer.html#method.new [`FileServer::new()`]: https://api.rocket.rs/v0.5/rocket/fs/struct.FileServer.html#method.new
[`content`]: https://api.rocket.rs/v0.5-rc/rocket/response/content/index.html [`content`]: https://api.rocket.rs/v0.5/rocket/response/content/index.html
[`rocket_db_pools`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html [`rocket_db_pools`]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html
[mutual TLS]: https://rocket.rs/v0.5-rc/guide/configuration/#mutual-tls [mutual TLS]: https://rocket.rs/v0.5/guide/configuration/#mutual-tls
[`Certificate`]: https://api.rocket.rs/v0.5-rc/rocket/mtls/struct.Certificate.html [`Certificate`]: https://api.rocket.rs/v0.5/rocket/mtls/struct.Certificate.html
[`MediaType::with_params()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.MediaType.html#method.with_params [`MediaType::with_params()`]: https://api.rocket.rs/v0.5/rocket/http/struct.MediaType.html#method.with_params
[`ContentType::with_params()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.ContentType.html#method.with_params [`ContentType::with_params()`]: https://api.rocket.rs/v0.5/rocket/http/struct.ContentType.html#method.with_params
[`Host`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Host.html [`Host`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Host.html
[`&Host`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Host.html [`&Host`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Host.html
[`Request::host()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.host [`Request::host()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.host
[`context!`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/macro.context.html [`context!`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/macro.context.html
[`MediaType`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.MediaType.html [`MediaType`]: https://api.rocket.rs/v0.5/rocket/http/struct.MediaType.html
[`ContentType`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.ContentType.html [`ContentType`]: https://api.rocket.rs/v0.5/rocket/http/struct.ContentType.html
[`Method`]: https://api.rocket.rs/v0.5-rc/rocket/http/enum.Method.html [`Method`]: https://api.rocket.rs/v0.5/rocket/http/enum.Method.html
[`(ContentType, T)`]: https://api.rocket.rs/v0.5-rc/rocket/response/content/index.html#usage [`(ContentType, T)`]: https://api.rocket.rs/v0.5/rocket/response/content/index.html#usage
[v0.4 to v0.5 migration guide]: https://rocket.rs/v0.5-rc/guide/upgrading/ [v0.4 to v0.5 migration guide]: https://rocket.rs/v0.5/guide/upgrading/
[contrib deprecation upgrade guide]: https://rocket.rs/v0.5-rc/guide/upgrading/#contrib-deprecation [contrib deprecation upgrade guide]: https://rocket.rs/v0.5/guide/upgrading/#contrib-deprecation
[FAQ]: https://rocket.rs/v0.5-rc/guide/faq/ [FAQ]: https://rocket.rs/v0.5/guide/faq/
[`Rocket::launch()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.launch [`Rocket::launch()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.launch
[`ErrorKind::Shutdown`]: https://api.rocket.rs/v0.5-rc/rocket/error/enum.ErrorKind.html#variant.Shutdown [`ErrorKind::Shutdown`]: https://api.rocket.rs/v0.5/rocket/error/enum.ErrorKind.html#variant.Shutdown
[shutdown fairings]: https://api.rocket.rs/v0.5-rc/rocket/fairing/trait.Fairing.html#shutdown [shutdown fairings]: https://api.rocket.rs/v0.5/rocket/fairing/trait.Fairing.html#shutdown
[`Client::terminate()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.Client.html#method.terminate [`Client::terminate()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.Client.html#method.terminate
[`rocket::execute()`]: https://api.rocket.rs/v0.5-rc/rocket/fn.execute.html [`rocket::execute()`]: https://api.rocket.rs/v0.5/rocket/fn.execute.html
[`CookieJar::get_pending()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.CookieJar.html#method.get_pending [`CookieJar::get_pending()`]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html#method.get_pending
[`Metadata::render()`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Metadata.html#method.render [`Metadata::render()`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/struct.Metadata.html#method.render
[`pool()`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/example/struct.ExampleDb.html#method.pool [`pool()`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/example/struct.ExampleDb.html#method.pool
[`Request::client_ip()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.client_ip [`Request::client_ip()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.client_ip
[`max_blocking`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Config.html#structfield.max_blocking [`max_blocking`]: https://api.rocket.rs/v0.5/rocket/struct.Config.html#structfield.max_blocking
[`ip_header`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Config.html#structfield.ip_header [`ip_header`]: https://api.rocket.rs/v0.5/rocket/struct.Config.html#structfield.ip_header
[`LocalRequest::identity()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.identity [`LocalRequest::identity()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.identity
[`TempFile::open()`]: https://api.rocket.rs/v0.5-rc/rocket/fs/enum.TempFile.html#method.open [`TempFile::open()`]: https://api.rocket.rs/v0.5/rocket/fs/enum.TempFile.html#method.open
[`Error::pretty_print()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Error.html#method.pretty_print [`Error::pretty_print()`]: https://api.rocket.rs/v0.5/rocket/struct.Error.html#method.pretty_print
[Request connection upgrade APIs]: https://api.rocket.rs/v0.5-rc/rocket/struct.Response.html#upgrading [Request connection upgrade APIs]: https://api.rocket.rs/v0.5/rocket/struct.Response.html#upgrading
[`rocket_ws`]: https://api.rocket.rs/v0.5-rc/rocket_ws/ [`rocket_ws`]: https://api.rocket.rs/v0.5/rocket_ws/
[registering]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Response.html#method.add_upgrade [registering]: https://api.rocket.rs/v0.5/rocket/response/struct.Response.html#method.add_upgrade
[`IoHandler`]: https://api.rocket.rs/v0.5-rc/rocket/data/trait.IoHandler.html [`IoHandler`]: https://api.rocket.rs/v0.5/rocket/data/trait.IoHandler.html
[`response::status`]: https://api.rocket.rs/v0.5-rc/rocket/response/status/index.html [`response::status`]: https://api.rocket.rs/v0.5/rocket/response/status/index.html
[Custom form errors]: https://api.rocket.rs/v0.5-rc/rocket/form/error/enum.ErrorKind.html#variant.Custom [Custom form errors]: https://api.rocket.rs/v0.5/rocket/form/error/enum.ErrorKind.html#variant.Custom
[`request::Outcome`]: https://api.rocket.rs/v0.5-rc/rocket/request/type.Outcome.html#variant.Forward [`request::Outcome`]: https://api.rocket.rs/v0.5/rocket/request/type.Outcome.html#variant.Forward
[Route `Forward` outcomes]: https://api.rocket.rs/v0.5-rc/rocket/request/type.Outcome.html#variant.Forward [Route `Forward` outcomes]: https://api.rocket.rs/v0.5/rocket/request/type.Outcome.html#variant.Forward
[`Outcome::Error`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/enum.Outcome.html#variant.Error [`Outcome::Error`]: https://api.rocket.rs/v0.5/rocket/outcome/enum.Outcome.html#variant.Error
[`IntoOutcome`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/trait.IntoOutcome.html [`IntoOutcome`]: https://api.rocket.rs/v0.5/rocket/outcome/trait.IntoOutcome.html
[`MediaType::JavaScript`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.MediaType.html#associatedconstant.JavaScript [`MediaType::JavaScript`]: https://api.rocket.rs/v0.5/rocket/http/struct.MediaType.html#associatedconstant.JavaScript
[`TempFile::open()`]: https://api.rocket.rs/v0.5-rc/rocket/fs/enum.TempFile.html#method.open [`TempFile::open()`]: https://api.rocket.rs/v0.5/rocket/fs/enum.TempFile.html#method.open
[`Error::pretty_print()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Error.html#method.pretty_print [`Error::pretty_print()`]: https://api.rocket.rs/v0.5/rocket/struct.Error.html#method.pretty_print
[`RouteUri`]: https://api.rocket.rs/v0.5-rc/rocket/route/struct.RouteUri.html [`RouteUri`]: https://api.rocket.rs/v0.5/rocket/route/struct.RouteUri.html
# Version 0.4.10 (May 21, 2021) # Version 0.4.10 (May 21, 2021)

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_db_pools.svg [crates.io]: https://img.shields.io/crates/v/rocket_db_pools.svg
[crate]: https://crates.io/crates/rocket_db_pools [crate]: https://crates.io/crates/rocket_db_pools
[docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_db_pools [crate docs]: https://api.rocket.rs/v0.5/rocket_db_pools
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions
@ -17,7 +17,7 @@ full usage details.
```toml ```toml
[dependencies.rocket_db_pools] [dependencies.rocket_db_pools]
version = "=0.1.0-rc.4" version = "0.1.0"
features = ["sqlx_sqlite"] features = ["sqlx_sqlite"]
``` ```
@ -60,8 +60,8 @@ full usage details.
} }
``` ```
[database driver features]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html#supported-drivers [database driver features]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#supported-drivers
[`Pool`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html#supported-drivers [`Pool`]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#supported-drivers
[Configure]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html#configuration [Configure]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#configuration
[Derive `Database`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/derive.Database.html [Derive `Database`]: https://api.rocket.rs/v0.5/rocket_db_pools/derive.Database.html
[`Connection<Type>`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/struct.Connection.html [`Connection<Type>`]: https://api.rocket.rs/v0.5/rocket_db_pools/struct.Connection.html

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_db_pools_codegen" name = "rocket_db_pools_codegen"
version = "0.1.0-rc.4" version = "0.1.0"
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"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_db_pools" name = "rocket_db_pools"
version = "0.1.0-rc.4" version = "0.1.0"
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.4" version = "0.5.0"
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.4" version = "0.1.0"
[dependencies.deadpool] [dependencies.deadpool]
version = "0.9" version = "0.9"

View File

@ -8,11 +8,11 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "=0.5.0-rc.4" //! rocket = "0.5.0"
//! diesel = "2" //! diesel = "2"
//! //!
//! [dependencies.rocket_db_pools] //! [dependencies.rocket_db_pools]
//! version = "=0.1.0-rc.4" //! version = "0.1.0"
//! features = ["diesel_mysql"] //! features = ["diesel_mysql"]
//! ``` //! ```
//! //!

View File

@ -7,7 +7,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.rocket_db_pools] //! [dependencies.rocket_db_pools]
//! version = "=0.1.0-rc.4" //! version = "0.1.0"
//! 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.4" //! version = "0.1.0"
//! features = ["sqlx_sqlite"] //! features = ["sqlx_sqlite"]
//! ``` //! ```
//! //!

View File

@ -1,9 +1,9 @@
[package] [package]
name = "rocket_dyn_templates" name = "rocket_dyn_templates"
version = "0.1.0-rc.4" version = "0.1.0"
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/rocket_dyn_templates/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/dyn_templates" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/dyn_templates"
readme = "README.md" readme = "README.md"
@ -22,7 +22,7 @@ notify = "6"
normpath = "1" normpath = "1"
[dependencies.rocket] [dependencies.rocket]
version = "=0.5.0-rc.4" version = "0.5.0"
path = "../../core/lib" path = "../../core/lib"
default-features = false default-features = false

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_dyn_templates.svg [crates.io]: https://img.shields.io/crates/v/rocket_dyn_templates.svg
[crate]: https://crates.io/crates/rocket_dyn_templates [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 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates [crate docs]: https://api.rocket.rs/v0.5/rocket_dyn_templates
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions
@ -22,7 +22,7 @@ supports [Handlebars] and [Tera].
```toml ```toml
[dependencies.rocket_dyn_templates] [dependencies.rocket_dyn_templates]
version = "=0.1.0-rc.4" version = "0.1.0"
features = ["handlebars", "tera"] features = ["handlebars", "tera"]
``` ```

View File

@ -12,7 +12,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.rocket_dyn_templates] //! [dependencies.rocket_dyn_templates]
//! version = "=0.1.0-rc.4" //! version = "0.1.0"
//! features = ["handlebars", "tera"] //! features = ["handlebars", "tera"]
//! ``` //! ```
//! //!
@ -66,7 +66,7 @@
//! template directory is configured via the `template_dir` configuration //! template directory is configured via the `template_dir` configuration
//! parameter and defaults to `templates/`. The path set in `template_dir` is //! parameter and defaults to `templates/`. The path set in `template_dir` is
//! relative to the Rocket configuration file. See the [configuration //! relative to the Rocket configuration file. See the [configuration
//! chapter](https://rocket.rs/v0.5-rc/guide/configuration) of the guide for more //! chapter](https://rocket.rs/v0.5/guide/configuration) of the guide for more
//! information on configuration. //! information on configuration.
//! //!
//! The corresponding templating engine used for a given template is based on a //! The corresponding templating engine used for a given template is based on a
@ -132,7 +132,7 @@
//! the templates directory since the previous request. In release builds, //! the templates directory since the previous request. In release builds,
//! template reloading is disabled to improve performance and cannot be enabled. //! template reloading is disabled to improve performance and cannot be enabled.
#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates")] #![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_dyn_templates")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_sync_db_pools.svg [crates.io]: https://img.shields.io/crates/v/rocket_sync_db_pools.svg
[crate]: https://crates.io/crates/rocket_sync_db_pools [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 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools [crate docs]: https://api.rocket.rs/v0.5/rocket_sync_db_pools
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions
@ -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.4" version = "0.1.0"
features = ["diesel_sqlite_pool"] features = ["diesel_sqlite_pool"]
``` ```

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_sync_db_pools_codegen" name = "rocket_sync_db_pools_codegen"
version = "0.1.0-rc.4" version = "0.1.0"
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"

View File

@ -1,9 +1,9 @@
[package] [package]
name = "rocket_sync_db_pools" name = "rocket_sync_db_pools"
version = "0.1.0-rc.4" version = "0.1.0"
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/contrib/sync_db_pools"
readme = "../README.md" readme = "../README.md"
keywords = ["rocket", "framework", "database", "pools"] keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
@ -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.4" version = "0.1.0"
path = "../codegen" path = "../codegen"
[dependencies.rocket] [dependencies.rocket]
version = "=0.5.0-rc.4" version = "0.5.0"
path = "../../../core/lib" path = "../../../core/lib"
default-features = false default-features = false

View File

@ -30,7 +30,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies.rocket_sync_db_pools] //! [dependencies.rocket_sync_db_pools]
//! version = "=0.1.0-rc.4" //! version = "0.1.0"
//! features = ["diesel_sqlite_pool"] //! features = ["diesel_sqlite_pool"]
//! ``` //! ```
//! //!
@ -166,7 +166,7 @@
//! Lastly, databases can be configured via environment variables by specifying //! Lastly, databases can be configured via environment variables by specifying
//! the `databases` table as detailed in the [Environment Variables //! the `databases` table as detailed in the [Environment Variables
//! configuration //! configuration
//! guide](https://rocket.rs/v0.5-rc/guide/configuration/#environment-variables): //! guide](https://rocket.rs/v0.5/guide/configuration/#environment-variables):
//! //!
//! ```bash //! ```bash
//! ROCKET_DATABASES='{my_db={url="db.sqlite"}}' //! ROCKET_DATABASES='{my_db={url="db.sqlite"}}'
@ -349,7 +349,7 @@
//! [request guards]: rocket::request::FromRequest //! [request guards]: rocket::request::FromRequest
//! [`Poolable`]: crate::Poolable //! [`Poolable`]: crate::Poolable
#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools")] #![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_sync_db_pools")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]
#![cfg_attr(nightly, feature(doc_cfg))] #![cfg_attr(nightly, feature(doc_cfg))]

View File

@ -1,9 +1,9 @@
[package] [package]
name = "rocket_ws" name = "rocket_ws"
version = "0.1.0-rc.4" version = "0.1.0"
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/rocket_ws/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/ws" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/ws"
readme = "README.md" readme = "README.md"
@ -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.4" version = "0.5.0"
path = "../../core/lib" path = "../../core/lib"
default-features = false default-features = false

View File

@ -3,7 +3,7 @@
[crates.io]: https://img.shields.io/crates/v/rocket_ws.svg [crates.io]: https://img.shields.io/crates/v/rocket_ws.svg
[crate]: https://crates.io/crates/rocket_ws [crate]: https://crates.io/crates/rocket_ws
[docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847
[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_ws [crate docs]: https://api.rocket.rs/v0.5/rocket_ws
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
[ci]: https://github.com/SergioBenitez/Rocket/actions [ci]: https://github.com/SergioBenitez/Rocket/actions
@ -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.4" } ws = { package = "rocket_ws", version = "0.1.0" }
``` ```
2. Use it! 2. Use it!

View File

@ -10,7 +10,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! ws = { package = "rocket_ws", version ="=0.1.0-rc.4" } //! ws = { package = "rocket_ws", version = "0.1.0" }
//! ``` //! ```
//! //!
//! 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
@ -70,7 +70,7 @@
//! } //! }
//! ``` //! ```
#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc/rocket_ws")] #![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_ws")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]

View File

@ -1,9 +1,9 @@
[package] [package]
name = "rocket_codegen" name = "rocket_codegen"
version = "0.5.0-rc.4" version = "0.5.0"
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/rocket_codegen/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"
@ -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.4", path = "../http/" } rocket_http = { version = "0.5.0", 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

@ -1,6 +1,6 @@
#![recursion_limit="128"] #![recursion_limit="128"]
#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc")] #![doc(html_root_url = "https://api.rocket.rs/v0.5")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]
@ -11,7 +11,7 @@
//! This crate implements the code generation portions of Rocket. This includes //! This crate implements the code generation portions of Rocket. This includes
//! custom derives, custom attributes, and procedural macros. The documentation //! custom derives, custom attributes, and procedural macros. The documentation
//! here is purely technical. The code generation facilities are documented //! here is purely technical. The code generation facilities are documented
//! thoroughly in the [Rocket programming guide](https://rocket.rs/v0.5-rc/guide). //! thoroughly in the [Rocket programming guide](https://rocket.rs/v0.5/guide).
//! //!
//! # Usage //! # Usage
//! //!
@ -21,7 +21,7 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "=0.5.0-rc.4" //! rocket = "0.5.0"
//! ``` //! ```
//! //!
//! 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,11 +1,11 @@
[package] [package]
name = "rocket_http" name = "rocket_http"
version = "0.5.0-rc.4" version = "0.5.0"
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.
""" """
documentation = "https://api.rocket.rs/v0.5-rc/rocket_http/" documentation = "https://api.rocket.rs/v0.5/rocket_http/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"

View File

@ -1,11 +1,11 @@
[package] [package]
name = "rocket" name = "rocket"
version = "0.5.0-rc.4" version = "0.5.0"
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.
""" """
documentation = "https://api.rocket.rs/v0.5-rc/rocket/" documentation = "https://api.rocket.rs/v0.5/rocket/"
homepage = "https://rocket.rs" homepage = "https://rocket.rs"
repository = "https://github.com/SergioBenitez/Rocket" repository = "https://github.com/SergioBenitez/Rocket"
readme = "../../README.md" readme = "../../README.md"
@ -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.4" version = "0.5.0"
path = "../codegen" path = "../codegen"
[dependencies.rocket_http] [dependencies.rocket_http]
version = "=0.5.0-rc.4" version = "0.5.0"
path = "../http" path = "../http"
features = ["serde"] features = ["serde"]

View File

@ -23,7 +23,7 @@ use crate::config::SecretKey;
/// See the [module level docs](crate::config) as well as the [configuration /// See the [module level docs](crate::config) as well as the [configuration
/// guide] for further details. /// guide] for further details.
/// ///
/// [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/ /// [configuration guide]: https://rocket.rs/v0.5/guide/configuration/
/// ///
/// # Defaults /// # Defaults
/// ///

View File

@ -2,7 +2,7 @@
//! //!
//! See the [configuration guide] for full details. //! See the [configuration guide] for full details.
//! //!
//! [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/ //! [configuration guide]: https://rocket.rs/v0.5/guide/configuration/
//! //!
//! ## Extracting Configuration Parameters //! ## Extracting Configuration Parameters
//! //!

View File

@ -71,8 +71,8 @@ enum Kind {
/// assert!(matches!(error.kind(), ErrorKind::InsecureSecretKey(profile))); /// assert!(matches!(error.kind(), ErrorKind::InsecureSecretKey(profile)));
/// ``` /// ```
/// ///
/// [private cookies]: https://rocket.rs/v0.5-rc/guide/requests/#private-cookies /// [private cookies]: https://rocket.rs/v0.5/guide/requests/#private-cookies
/// [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/#secret-key /// [configuration guide]: https://rocket.rs/v0.5/guide/configuration/#secret-key
#[derive(Clone)] #[derive(Clone)]
#[cfg_attr(nightly, doc(cfg(feature = "secrets")))] #[cfg_attr(nightly, doc(cfg(feature = "secrets")))]
pub struct SecretKey { pub struct SecretKey {

View File

@ -423,7 +423,7 @@ pub type Result<T = Rocket<Build>, E = Rocket<Build>> = std::result::Result<T, E
/// } /// }
/// ``` /// ```
/// ///
/// [request-local state]: https://rocket.rs/v0.5-rc/guide/state/#request-local-state /// [request-local state]: https://rocket.rs/v0.5/guide/state/#request-local-state
#[crate::async_trait] #[crate::async_trait]
pub trait Fairing: Send + Sync + Any + 'static { pub trait Fairing: Send + Sync + Any + 'static {
/// Returns an [`Info`] structure containing the `name` and [`Kind`] of this /// Returns an [`Info`] structure containing the `name` and [`Kind`] of this

View File

@ -40,7 +40,7 @@ use crate::http::Status;
/// `Context` serializes as a map, so it can be rendered in templates that /// `Context` serializes as a map, so it can be rendered in templates that
/// require `Serialize` types. See the [forms guide] for further usage details. /// require `Serialize` types. See the [forms guide] for further usage details.
/// ///
/// [forms guide]: https://rocket.rs/v0.5-rc/guide/requests/#context /// [forms guide]: https://rocket.rs/v0.5/guide/requests/#context
#[derive(Debug)] #[derive(Debug)]
pub struct Contextual<'v, T> { pub struct Contextual<'v, T> {
/// The value, if it was successfully parsed, or `None` otherwise. /// The value, if it was successfully parsed, or `None` otherwise.

View File

@ -12,7 +12,7 @@ use crate::form::prelude::*;
/// This type implements the [`FromData`] trait. It provides a generic means to /// This type implements the [`FromData`] trait. It provides a generic means to
/// parse arbitrary structures from incoming form data. /// parse arbitrary structures from incoming form data.
/// ///
/// See the [forms guide](https://rocket.rs/v0.5-rc/guide/requests#forms) for /// See the [forms guide](https://rocket.rs/v0.5/guide/requests#forms) for
/// general form support documentation. /// general form support documentation.
/// ///
/// # Leniency /// # Leniency

View File

@ -65,7 +65,7 @@ use crate::http::uncased::AsUncased;
/// [FromFormField]: crate::form::FromFormField /// [FromFormField]: crate::form::FromFormField
/// [`shift()`ed]: NameView::shift() /// [`shift()`ed]: NameView::shift()
/// [`key()`]: NameView::key() /// [`key()`]: NameView::key()
/// [forms guide]: https://rocket.rs/v0.5-rc/guide/requests/#forms /// [forms guide]: https://rocket.rs/v0.5/guide/requests/#forms
/// ///
/// # Parsing Strategy /// # Parsing Strategy
/// ///

View File

@ -1,6 +1,6 @@
//! Parsing and validation of HTTP forms and fields. //! Parsing and validation of HTTP forms and fields.
//! //!
//! See the [forms guide](https://rocket.rs/v0.5-rc/guide/requests#forms) for //! See the [forms guide](https://rocket.rs/v0.5/guide/requests#forms) for
//! general form support documentation. //! general form support documentation.
//! //!
//! # Field Wire Format //! # Field Wire Format

View File

@ -1,6 +1,6 @@
#![recursion_limit="256"] #![recursion_limit="256"]
#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc")] #![doc(html_root_url = "https://api.rocket.rs/v0.5")]
#![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")]
#![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")]
#![cfg_attr(nightly, feature(doc_cfg))] #![cfg_attr(nightly, feature(doc_cfg))]
@ -18,10 +18,10 @@
//! detailed guide]. If you'd like pointers on getting started, see the //! detailed guide]. If you'd like pointers on getting started, see the
//! [quickstart] or [getting started] chapters of the guide. //! [quickstart] or [getting started] chapters of the guide.
//! //!
//! [overview]: https://rocket.rs/v0.5-rc/overview //! [overview]: https://rocket.rs/v0.5/overview
//! [full, detailed guide]: https://rocket.rs/v0.5-rc/guide //! [full, detailed guide]: https://rocket.rs/v0.5/guide
//! [quickstart]: https://rocket.rs/v0.5-rc/guide/quickstart //! [quickstart]: https://rocket.rs/v0.5/guide/quickstart
//! [getting started]: https://rocket.rs/v0.5-rc/guide/getting-started //! [getting started]: https://rocket.rs/v0.5/guide/getting-started
//! //!
//! ## Usage //! ## Usage
//! //!
@ -29,13 +29,13 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = "=0.5.0-rc.4" //! rocket = "0.5.0"
//! ``` //! ```
//! //!
//! <small>Note that development versions, tagged with `-dev`, are not published //! <small>Note that development versions, tagged with `-dev`, are not published
//! and need to be specified as [git dependencies].</small> //! and need to be specified as [git dependencies].</small>
//! //!
//! See the [guide](https://rocket.rs/v0.5-rc/guide) for more information on how //! See the [guide](https://rocket.rs/v0.5/guide) for more information on how
//! to write Rocket applications. Here's a simple example to get you started: //! 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 //! [git dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories
@ -73,21 +73,21 @@
//! //!
//! ```toml //! ```toml
//! [dependencies] //! [dependencies]
//! rocket = { version = "=0.5.0-rc.4", features = ["secrets", "tls", "json"] } //! rocket = { version = "0.5.0", 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.4", default-features = false } //! rocket = { version = "0.5.0", default-features = false }
//! ``` //! ```
//! //!
//! [JSON (de)serialization]: crate::serde::json //! [JSON (de)serialization]: crate::serde::json
//! [MessagePack (de)serialization]: crate::serde::msgpack //! [MessagePack (de)serialization]: crate::serde::msgpack
//! [UUID value parsing and (de)serialization]: crate::serde::uuid //! [UUID value parsing and (de)serialization]: crate::serde::uuid
//! [private cookies]: https://rocket.rs/v0.5-rc/guide/requests/#private-cookies //! [private cookies]: https://rocket.rs/v0.5/guide/requests/#private-cookies
//! [TLS]: https://rocket.rs/v0.5-rc/guide/configuration/#tls //! [TLS]: https://rocket.rs/v0.5/guide/configuration/#tls
//! [mutual TLS]: crate::mtls //! [mutual TLS]: crate::mtls
//! //!
//! ## Configuration //! ## Configuration
@ -103,8 +103,8 @@
//! integration testing of a Rocket application. The top-level [`local`] module //! integration testing of a Rocket application. The top-level [`local`] module
//! documentation and the [testing guide] include detailed examples. //! documentation and the [testing guide] include detailed examples.
//! //!
//! [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/ //! [configuration guide]: https://rocket.rs/v0.5/guide/configuration/
//! [testing guide]: https://rocket.rs/v0.5-rc/guide/testing/#testing //! [testing guide]: https://rocket.rs/v0.5/guide/testing/#testing
//! [Figment]: https://docs.rs/figment //! [Figment]: https://docs.rs/figment
/// These are public dependencies! Update docs if these are changed, especially /// These are public dependencies! Update docs if these are changed, especially

View File

@ -80,7 +80,7 @@
//! //!
//! For more details on testing, see the [testing guide]. //! For more details on testing, see the [testing guide].
//! //!
//! [testing guide]: https://rocket.rs/v0.5-rc/guide/testing/ //! [testing guide]: https://rocket.rs/v0.5/guide/testing/
//! [`Client`]: crate::local::asynchronous::Client //! [`Client`]: crate::local::asynchronous::Client
//! //!
//! # `Client` //! # `Client`

View File

@ -2,7 +2,7 @@
//! //!
//! For details on how to configure mutual TLS, see //! For details on how to configure mutual TLS, see
//! [`MutualTls`](crate::config::MutualTls) and the [TLS //! [`MutualTls`](crate::config::MutualTls) and the [TLS
//! guide](https://rocket.rs/v0.5-rc/guide/configuration/#tls). See //! guide](https://rocket.rs/v0.5/guide/configuration/#tls). See
//! [`Certificate`] for a request guard that validated, verifies, and retrieves //! [`Certificate`] for a request guard that validated, verifies, and retrieves
//! client certificates. //! client certificates.

View File

@ -368,7 +368,7 @@ pub type Outcome<S, E> = outcome::Outcome<S, (Status, E), Status>;
/// Notice that these request guards provide access to *borrowed* data (`&'a /// Notice that these request guards provide access to *borrowed* data (`&'a
/// User` and `Admin<'a>`) as the data is now owned by the request's cache. /// User` and `Admin<'a>`) as the data is now owned by the request's cache.
/// ///
/// [request-local state]: https://rocket.rs/v0.5-rc/guide/state/#request-local-state /// [request-local state]: https://rocket.rs/v0.5/guide/state/#request-local-state
#[crate::async_trait] #[crate::async_trait]
pub trait FromRequest<'r>: Sized { pub trait FromRequest<'r>: Sized {
/// The associated error to be returned if derivation fails. /// The associated error to be returned if derivation fails.

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
//! security and privacy headers into all outgoing responses. It takes some //! security and privacy headers into all outgoing responses. It takes some
//! inspiration from [helmetjs], a similar piece of middleware for [express]. //! inspiration from [helmetjs], a similar piece of middleware for [express].
//! //!
//! [fairing]: https://rocket.rs/v0.5-rc/guide/fairings/ //! [fairing]: https://rocket.rs/v0.5/guide/fairings/
//! [helmetjs]: https://helmetjs.github.io/ //! [helmetjs]: https://helmetjs.github.io/
//! [express]: https://expressjs.com //! [express]: https://expressjs.com
//! //!

View File

@ -58,8 +58,8 @@ VERSION=$(git grep -h "^version" "${CORE_LIB_ROOT}" | head -n 1 | cut -d '"' -f2
MAJOR_VERSION=$(echo "${VERSION}" | cut -d'.' -f1-2) MAJOR_VERSION=$(echo "${VERSION}" | cut -d'.' -f1-2)
VIRTUAL_CODENAME="$(git branch --show-current)" VIRTUAL_CODENAME="$(git branch --show-current)"
PHYSICAL_CODENAME="v${MAJOR_VERSION}" PHYSICAL_CODENAME="v${MAJOR_VERSION}"
CURRENT_RELEASE=false CURRENT_RELEASE=true
PRE_RELEASE=true PRE_RELEASE=false
# A generated codename for this version. Use the git branch for pre-releases. # A generated codename for this version. Use the git branch for pre-releases.
case $PRE_RELEASE in case $PRE_RELEASE in

View File

@ -13,7 +13,7 @@ This directory contains the following:
* `news/*.md` - News articles linked to from `news/index.toml`. * `news/*.md` - News articles linked to from `news/index.toml`.
* `guide/*.md` - Guide pages linked to from `guide.md`. * `guide/*.md` - Guide pages linked to from `guide.md`.
[Rocket Programming Guide]: https://rocket.rs/v0.5-rc/guide/ [Rocket Programming Guide]: https://rocket.rs/v0.5/guide/
### Guide Links ### Guide Links

View File

@ -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.4", features = ["secrets"] } rocket = { version = "0.5.0", 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.4", features = ["json"] } + rocket = { version = "0.5.0", features = ["json"] }
+ rocket_dyn_templates = { version = "=0.1.0-rc.4", features = ["tera"] } + rocket_dyn_templates = { version = "0.1.0", 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

View File

@ -14,7 +14,7 @@ For instance, the following set of commands runs the `hello` example:
```sh ```sh
git clone https://github.com/SergioBenitez/Rocket git clone https://github.com/SergioBenitez/Rocket
cd Rocket cd Rocket
git checkout v0.5-rc git checkout v0.5
cd examples/hello cd examples/hello
cargo run cargo run
``` ```

View File

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

@ -54,7 +54,7 @@ looks like:
| Framework | Dependencies | Build Time | | Framework | Dependencies | Build Time |
|----------------------|--------------|------------| |----------------------|--------------|------------|
| Rocket 0.5-rc.2 | 151 | 50s | | Rocket 0.5 | 151 | 50s |
| Actix-Web 4.0.1 | 155 | 40s | | Actix-Web 4.0.1 | 155 | 40s |
| Tide 0.16 | 202 | 37s | | Tide 0.16 | 202 | 37s |
| Warp 0.3.2 | 132 | 30s | | Warp 0.3.2 | 132 | 30s |
@ -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.4" rocket = "0.5.0"
rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" } rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" }
``` ```

View File

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

View File

@ -606,7 +606,7 @@ feature:
```toml ```toml
## in Cargo.toml ## in Cargo.toml
rocket = { version = "=0.5.0-rc.4", features = ["secrets"] } rocket = { version = "0.5.0", 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.4", features = ["json"] } rocket = { version = "0.5.0", features = ["json"] }
` `
### Temporary Files ### Temporary Files

View File

@ -231,7 +231,7 @@ in three simple steps:
```toml ```toml
[dependencies.rocket_db_pools] [dependencies.rocket_db_pools]
version = "=0.1.0-rc.4" version = "0.1.0"
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.4" version = "0.1.0"
features = ["sqlx_sqlite"] features = ["sqlx_sqlite"]
``` ```

View File

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

View File

@ -3,8 +3,8 @@
############################################################################### ###############################################################################
[release] [release]
version = "0.5.0-rc.4" version = "0.5.0"
date = "Nov 1, 2023" date = "Nov XX, 2023"
############################################################################### ###############################################################################
# Top features: displayed in the header under the introductory text. # Top features: displayed in the header under the introductory text.

View File

@ -27,7 +27,7 @@ to your feedback!
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues [GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions [GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc1-jun-9-2021 [CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc1-jun-9-2021
[API docs]: @api [API docs]: @api
[guide]: ../../guide [guide]: ../../guide

View File

@ -27,7 +27,7 @@ for the general release!
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues [GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions [GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
[migration guide]: ../../guide/upgrading [migration guide]: ../../guide/upgrading
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc2-may-9-2022 [CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc2-may-9-2022
[API docs]: @api [API docs]: @api
[guide]: ../../guide [guide]: ../../guide

View File

@ -17,7 +17,7 @@ v0.4. For changes since Rocket v0.5.0-rc.2, please see the [CHANGELOG].
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues [GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions [GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
[migration guide]: ../../guide/upgrading [migration guide]: ../../guide/upgrading
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc2-may-9-2022 [CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc2-may-9-2022
## About Rocket ## About Rocket

View File

@ -176,7 +176,7 @@ For complete usage details, see the [`rocket_ws`] documentation.
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues [GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions [GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
[migration guide]: ../../guide/upgrading [migration guide]: ../../guide/upgrading
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc2-may-9-2022 [CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc2-may-9-2022
## Thank You ## Thank You

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rocket_guide_tests" name = "rocket_guide_tests"
version = "0.5.0-rc.4" version = "0.5.0"
workspace = "../../" workspace = "../../"
edition = "2021" edition = "2021"
publish = false publish = false
@ -22,4 +22,4 @@ path = "../../contrib/db_pools/lib"
features = ["sqlx_sqlite"] features = ["sqlx_sqlite"]
[dev-dependencies.rocket_ws] [dev-dependencies.rocket_ws]
path = "../../contrib/ws/lib" path = "../../contrib/ws"