mirror of https://github.com/rwf2/Rocket.git
parent
e81f6c8323
commit
e526fa04d4
40
CHANGELOG.md
40
CHANGELOG.md
|
@ -569,7 +569,7 @@ The following changes were made to the project's infrastructure:
|
||||||
[automatic typed config extraction]: https://api.rocket.rs/v0.5/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/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/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/examples/chat
|
[`chat`]: https://github.com/rwf2/Rocket/tree/v0.5/examples/chat
|
||||||
[`Form` guard]: https://api.rocket.rs/v0.5/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/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/rocket/http/struct.CookieJar.html#pending
|
[`CookieJar`#pending]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html#pending
|
||||||
|
@ -728,7 +728,7 @@ The following changes were made to the project's infrastructure:
|
||||||
* [[`3276b8`]] Removed `unsafe` in `Origin::parse_owned()`, fixing a soundness
|
* [[`3276b8`]] Removed `unsafe` in `Origin::parse_owned()`, fixing a soundness
|
||||||
issue.
|
issue.
|
||||||
|
|
||||||
[`3276b8`]: https://github.com/SergioBenitez/Rocket/commit/3276b8
|
[`3276b8`]: https://github.com/rwf2/Rocket/commit/3276b8
|
||||||
|
|
||||||
# Version 0.4.9 (May 19, 2021)
|
# Version 0.4.9 (May 19, 2021)
|
||||||
|
|
||||||
|
@ -736,8 +736,8 @@ The following changes were made to the project's infrastructure:
|
||||||
|
|
||||||
* [[`#1645`], [`f2a56f`]] Fixed `Try` `impl FromResidual<Result> for Outcome`.
|
* [[`#1645`], [`f2a56f`]] Fixed `Try` `impl FromResidual<Result> for Outcome`.
|
||||||
|
|
||||||
[`#1645`]: https://github.com/SergioBenitez/Rocket/issues/1645
|
[`#1645`]: https://github.com/rwf2/Rocket/issues/1645
|
||||||
[`f2a56f`]: https://github.com/SergioBenitez/Rocket/commit/f2a56f
|
[`f2a56f`]: https://github.com/rwf2/Rocket/commit/f2a56f
|
||||||
|
|
||||||
# Version 0.4.8 (May 18, 2021)
|
# Version 0.4.8 (May 18, 2021)
|
||||||
|
|
||||||
|
@ -752,8 +752,8 @@ The following changes were made to the project's infrastructure:
|
||||||
|
|
||||||
* Updated `base64` dependency to `0.13`.
|
* Updated `base64` dependency to `0.13`.
|
||||||
|
|
||||||
[`#1548`]: https://github.com/SergioBenitez/Rocket/issues/1548
|
[`#1548`]: https://github.com/rwf2/Rocket/issues/1548
|
||||||
[`93e88b0`]: https://github.com/SergioBenitez/Rocket/commit/93e88b0
|
[`93e88b0`]: https://github.com/rwf2/Rocket/commit/93e88b0
|
||||||
|
|
||||||
# Version 0.4.7 (Feb 09, 2021)
|
# Version 0.4.7 (Feb 09, 2021)
|
||||||
|
|
||||||
|
@ -762,8 +762,8 @@ The following changes were made to the project's infrastructure:
|
||||||
* [[#1534], [`2059a6`]] Fixed a low-severity, minimal impact soundness issue
|
* [[#1534], [`2059a6`]] Fixed a low-severity, minimal impact soundness issue
|
||||||
in `uri::Formatter`.
|
in `uri::Formatter`.
|
||||||
|
|
||||||
[#1534]: https://github.com/SergioBenitez/Rocket/issues/1534
|
[#1534]: https://github.com/rwf2/Rocket/issues/1534
|
||||||
[`2059a6`]: https://github.com/SergioBenitez/Rocket/commit/2059a6
|
[`2059a6`]: https://github.com/rwf2/Rocket/commit/2059a6
|
||||||
|
|
||||||
# Version 0.4.6 (Nov 09, 2020)
|
# Version 0.4.6 (Nov 09, 2020)
|
||||||
|
|
||||||
|
@ -784,8 +784,8 @@ The following changes were made to the project's infrastructure:
|
||||||
* Updated source code for Rust 2018.
|
* Updated source code for Rust 2018.
|
||||||
* UI tests now use `trybuild` instead of `compiletest-rs`.
|
* UI tests now use `trybuild` instead of `compiletest-rs`.
|
||||||
|
|
||||||
[`86bd7c`]: https://github.com/SergioBenitez/Rocket/commit/86bd7c
|
[`86bd7c`]: https://github.com/rwf2/Rocket/commit/86bd7c
|
||||||
[`c24a96`]: https://github.com/SergioBenitez/Rocket/commit/c24a96
|
[`c24a96`]: https://github.com/rwf2/Rocket/commit/c24a96
|
||||||
[enables flushing]: https://api.rocket.rs/v0.4/rocket/response/struct.Stream.html#buffering-and-blocking
|
[enables flushing]: https://api.rocket.rs/v0.4/rocket/response/struct.Stream.html#buffering-and-blocking
|
||||||
|
|
||||||
# Version 0.4.5 (May 30, 2020)
|
# Version 0.4.5 (May 30, 2020)
|
||||||
|
@ -807,10 +807,10 @@ The following changes were made to the project's infrastructure:
|
||||||
|
|
||||||
* Fixed various typos.
|
* Fixed various typos.
|
||||||
|
|
||||||
[#1312]: https://github.com/SergioBenitez/Rocket/issues/1312
|
[#1312]: https://github.com/rwf2/Rocket/issues/1312
|
||||||
[`89150f`]: https://github.com/SergioBenitez/Rocket/commit/89150f
|
[`89150f`]: https://github.com/rwf2/Rocket/commit/89150f
|
||||||
[#1263]: https://github.com/SergioBenitez/Rocket/issues/1263
|
[#1263]: https://github.com/rwf2/Rocket/issues/1263
|
||||||
[`376f74`]: https://github.com/SergioBenitez/Rocket/commit/376f74
|
[`376f74`]: https://github.com/rwf2/Rocket/commit/376f74
|
||||||
[`Origin::map_path()`]: https://api.rocket.rs/v0.4/rocket/http/uri/struct.Origin.html#method.map_path
|
[`Origin::map_path()`]: https://api.rocket.rs/v0.4/rocket/http/uri/struct.Origin.html#method.map_path
|
||||||
[`handler::Outcome::from_or_forward()`]: https://api.rocket.rs/v0.4/rocket/handler/type.Outcome.html#method.from_or_forward
|
[`handler::Outcome::from_or_forward()`]: https://api.rocket.rs/v0.4/rocket/handler/type.Outcome.html#method.from_or_forward
|
||||||
[`Options::NormalizeDirs`]: https://api.rocket.rs/v0.4/rocket_contrib/serve/struct.Options.html#associatedconstant.NormalizeDirs
|
[`Options::NormalizeDirs`]: https://api.rocket.rs/v0.4/rocket_contrib/serve/struct.Options.html#associatedconstant.NormalizeDirs
|
||||||
|
@ -1314,7 +1314,7 @@ In addition to new features, Rocket saw the following improvements:
|
||||||
* The `rustls` dependency was updated to `0.14`.
|
* The `rustls` dependency was updated to `0.14`.
|
||||||
* The `cookie` dependency was updated to `0.11`.
|
* The `cookie` dependency was updated to `0.11`.
|
||||||
|
|
||||||
[Tera templates example]: https://github.com/SergioBenitez/Rocket/tree/v0.4/examples/tera_templates
|
[Tera templates example]: https://github.com/rwf2/Rocket/tree/v0.4/examples/tera_templates
|
||||||
[`FormItems`]: https://api.rocket.rs/v0.4/rocket/request/enum.FormItems.html
|
[`FormItems`]: https://api.rocket.rs/v0.4/rocket/request/enum.FormItems.html
|
||||||
[`Config::active()`]: https://api.rocket.rs/v0.4/rocket/config/struct.Config.html#method.active
|
[`Config::active()`]: https://api.rocket.rs/v0.4/rocket/config/struct.Config.html#method.active
|
||||||
[`Flash`]: https://api.rocket.rs/v0.4/rocket/response/struct.Flash.html
|
[`Flash`]: https://api.rocket.rs/v0.4/rocket/response/struct.Flash.html
|
||||||
|
@ -1576,7 +1576,7 @@ In addition to new features, Rocket saw the following improvements:
|
||||||
|
|
||||||
* Ignored named route parameters are now allowed (`_ident`).
|
* Ignored named route parameters are now allowed (`_ident`).
|
||||||
* Fixed issue where certain paths would cause a lint `assert!` to fail
|
* Fixed issue where certain paths would cause a lint `assert!` to fail
|
||||||
([#367](https://github.com/SergioBenitez/Rocket/issues/367)).
|
([#367](https://github.com/rwf2/Rocket/issues/367)).
|
||||||
* Lints were updated for `2017-08-10` nightly.
|
* Lints were updated for `2017-08-10` nightly.
|
||||||
* Minimum required `rustc` is `1.21.0-nightly (2017-08-10)`.
|
* Minimum required `rustc` is `1.21.0-nightly (2017-08-10)`.
|
||||||
|
|
||||||
|
@ -1868,7 +1868,7 @@ In addition to new features, Rocket saw the following improvements:
|
||||||
* Allow `k` and `v` to be used as fields in `FromForm` structures by avoiding
|
* Allow `k` and `v` to be used as fields in `FromForm` structures by avoiding
|
||||||
identifier collisions ([#265]).
|
identifier collisions ([#265]).
|
||||||
|
|
||||||
[#265]: https://github.com/SergioBenitez/Rocket/issues/265
|
[#265]: https://github.com/rwf2/Rocket/issues/265
|
||||||
|
|
||||||
# Version 0.2.5 (Apr 16, 2017)
|
# Version 0.2.5 (Apr 16, 2017)
|
||||||
|
|
||||||
|
@ -2064,7 +2064,7 @@ applications.
|
||||||
A couple of bugs were fixed in this release:
|
A couple of bugs were fixed in this release:
|
||||||
|
|
||||||
* Handlebars partials were not properly registered
|
* Handlebars partials were not properly registered
|
||||||
([#122](https://github.com/SergioBenitez/Rocket/issues/122)).
|
([#122](https://github.com/rwf2/Rocket/issues/122)).
|
||||||
* `Rocket::custom` did not set the custom configuration as the `active`
|
* `Rocket::custom` did not set the custom configuration as the `active`
|
||||||
configuration.
|
configuration.
|
||||||
* Route path segments containing more than one dynamic parameter were
|
* Route path segments containing more than one dynamic parameter were
|
||||||
|
@ -2168,13 +2168,13 @@ In addition to new features, Rocket saw the following smaller improvements:
|
||||||
## Codegen
|
## Codegen
|
||||||
|
|
||||||
* Fix `get_raw_segments` index argument in route codegen
|
* Fix `get_raw_segments` index argument in route codegen
|
||||||
([#41](https://github.com/SergioBenitez/Rocket/issues/41)).
|
([#41](https://github.com/rwf2/Rocket/issues/41)).
|
||||||
* Segments params (`<param..>`) respect prefixes.
|
* Segments params (`<param..>`) respect prefixes.
|
||||||
|
|
||||||
## Contrib
|
## Contrib
|
||||||
|
|
||||||
* Fix nested template name resolution
|
* Fix nested template name resolution
|
||||||
([#42](https://github.com/SergioBenitez/Rocket/issues/42)).
|
([#42](https://github.com/rwf2/Rocket/issues/42)).
|
||||||
|
|
||||||
## Infrastructure
|
## Infrastructure
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Rocket
|
# Rocket
|
||||||
|
|
||||||
[![Build Status](https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg)](https://github.com/SergioBenitez/Rocket/actions)
|
[![Build Status](https://github.com/rwf2/Rocket/workflows/CI/badge.svg)](https://github.com/rwf2/Rocket/actions)
|
||||||
[![Rocket Homepage](https://img.shields.io/badge/web-rocket.rs-red.svg?style=flat&label=https&colorB=d33847)](https://rocket.rs)
|
[![Rocket Homepage](https://img.shields.io/badge/web-rocket.rs-red.svg?style=flat&label=https&colorB=d33847)](https://rocket.rs)
|
||||||
[![Current Crates.io Version](https://img.shields.io/crates/v/rocket.svg)](https://crates.io/crates/rocket)
|
[![Current Crates.io Version](https://img.shields.io/crates/v/rocket.svg)](https://crates.io/crates/rocket)
|
||||||
[![Matrix: #rocket:mozilla.org](https://img.shields.io/badge/style-%23rocket:mozilla.org-blue.svg?style=flat&label=[m])](https://chat.mozilla.org/#/room/#rocket:mozilla.org)
|
[![Matrix: #rocket:mozilla.org](https://img.shields.io/badge/style-%23rocket:mozilla.org-blue.svg?style=flat&label=[m])](https://chat.mozilla.org/#/room/#rocket:mozilla.org)
|
||||||
|
@ -128,9 +128,9 @@ come in many forms. You could:
|
||||||
3. Comment on [issues that require feedback].
|
3. Comment on [issues that require feedback].
|
||||||
4. Contribute code via [pull requests].
|
4. Contribute code via [pull requests].
|
||||||
|
|
||||||
[issue]: https://github.com/SergioBenitez/Rocket/issues
|
[issue]: https://github.com/rwf2/Rocket/issues
|
||||||
[issues that require feedback]: https://github.com/SergioBenitez/Rocket/issues?q=is%3Aissue+is%3Aopen+label%3A%22feedback+wanted%22
|
[issues that require feedback]: https://github.com/rwf2/Rocket/issues?q=is%3Aissue+is%3Aopen+label%3A%22feedback+wanted%22
|
||||||
[pull requests]: https://github.com/SergioBenitez/Rocket/pulls
|
[pull requests]: https://github.com/rwf2/Rocket/pulls
|
||||||
|
|
||||||
We aim to keep Rocket's code quality at the highest level. This means that any
|
We aim to keep Rocket's code quality at the highest level. This means that any
|
||||||
code you contribute must be:
|
code you contribute must be:
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
[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/master/rocket_db_pools
|
[crate docs]: https://api.rocket.rs/master/rocket_db_pools
|
||||||
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
|
[ci.svg]: https://github.com/rwf2/Rocket/workflows/CI/badge.svg
|
||||||
[ci]: https://github.com/SergioBenitez/Rocket/actions
|
[ci]: https://github.com/rwf2/Rocket/actions
|
||||||
|
|
||||||
Asynchronous database driver integration for Rocket. See the [crate docs] for
|
Asynchronous database driver integration for Rocket. See the [crate docs] for
|
||||||
full usage details.
|
full usage details.
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "rocket_db_pools_codegen"
|
||||||
version = "0.1.0"
|
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/rwf2/Rocket/contrib/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"
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "rocket_db_pools"
|
||||||
version = "0.1.0"
|
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/rwf2/Rocket/contrib/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"
|
||||||
|
|
|
@ -5,7 +5,7 @@ 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/master/rocket_dyn_templates/"
|
documentation = "https://api.rocket.rs/master/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/rwf2/Rocket/tree/master/contrib/dyn_templates"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = ["rocket", "framework", "templates", "templating", "engine"]
|
keywords = ["rocket", "framework", "templates", "templating", "engine"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
[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/master/rocket_dyn_templates
|
[crate docs]: https://api.rocket.rs/master/rocket_dyn_templates
|
||||||
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
|
[ci.svg]: https://github.com/rwf2/Rocket/workflows/CI/badge.svg
|
||||||
[ci]: https://github.com/SergioBenitez/Rocket/actions
|
[ci]: https://github.com/rwf2/Rocket/actions
|
||||||
|
|
||||||
This crate adds support for dynamic template rendering to Rocket. It
|
This crate adds support for dynamic template rendering to Rocket. It
|
||||||
automatically discovers templates, provides a `Responder` to render templates,
|
automatically discovers templates, provides a `Responder` to render templates,
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
[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/master/rocket_sync_db_pools
|
[crate docs]: https://api.rocket.rs/master/rocket_sync_db_pools
|
||||||
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
|
[ci.svg]: https://github.com/rwf2/Rocket/workflows/CI/badge.svg
|
||||||
[ci]: https://github.com/SergioBenitez/Rocket/actions
|
[ci]: https://github.com/rwf2/Rocket/actions
|
||||||
|
|
||||||
This crate provides traits, utilities, and a procedural macro for configuring
|
This crate provides traits, utilities, and a procedural macro for configuring
|
||||||
and accessing database connection pools in Rocket. This implementation is backed
|
and accessing database connection pools in Rocket. This implementation is backed
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "rocket_sync_db_pools_codegen"
|
||||||
version = "0.1.0"
|
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/rwf2/Rocket/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"
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "rocket_sync_db_pools"
|
||||||
version = "0.1.0"
|
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/master/contrib/sync_db_pools"
|
repository = "https://github.com/rwf2/Rocket/tree/master/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"
|
||||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Sergio Benitez <sb@sergio.bz>"]
|
||||||
description = "WebSocket support for Rocket."
|
description = "WebSocket support for Rocket."
|
||||||
documentation = "https://api.rocket.rs/master/rocket_ws/"
|
documentation = "https://api.rocket.rs/master/rocket_ws/"
|
||||||
homepage = "https://rocket.rs"
|
homepage = "https://rocket.rs"
|
||||||
repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/ws"
|
repository = "https://github.com/rwf2/Rocket/tree/master/contrib/ws"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = ["rocket", "web", "framework", "websocket"]
|
keywords = ["rocket", "web", "framework", "websocket"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
[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/master/rocket_ws
|
[crate docs]: https://api.rocket.rs/master/rocket_ws
|
||||||
[ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg
|
[ci.svg]: https://github.com/rwf2/Rocket/workflows/CI/badge.svg
|
||||||
[ci]: https://github.com/SergioBenitez/Rocket/actions
|
[ci]: https://github.com/rwf2/Rocket/actions
|
||||||
|
|
||||||
This crate provides WebSocket support for Rocket via integration with Rocket's
|
This crate provides WebSocket support for Rocket via integration with Rocket's
|
||||||
[connection upgrades] API.
|
[connection upgrades] API.
|
||||||
|
|
|
@ -5,7 +5,7 @@ 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/master/rocket_codegen/"
|
documentation = "https://api.rocket.rs/master/rocket_codegen/"
|
||||||
homepage = "https://rocket.rs"
|
homepage = "https://rocket.rs"
|
||||||
repository = "https://github.com/SergioBenitez/Rocket"
|
repository = "https://github.com/rwf2/Rocket"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
keywords = ["rocket", "web", "framework", "code", "generation"]
|
keywords = ["rocket", "web", "framework", "code", "generation"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -161,7 +161,7 @@ fn param_guard_decl(guard: &Guard) -> TokenStream {
|
||||||
#_None => {
|
#_None => {
|
||||||
#_log::error_!("Internal invariant broken: dyn param {} not found.", #i);
|
#_log::error_!("Internal invariant broken: dyn param {} not found.", #i);
|
||||||
#_log::error_!("Please report this to the Rocket issue tracker.");
|
#_log::error_!("Please report this to the Rocket issue tracker.");
|
||||||
#_log::error_!("https://github.com/SergioBenitez/Rocket/issues");
|
#_log::error_!("https://github.com/rwf2/Rocket/issues");
|
||||||
return #Outcome::Forward((#__data, #Status::InternalServerError));
|
return #Outcome::Forward((#__data, #Status::InternalServerError));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ Types, traits, and parsers for HTTP requests, responses, and headers.
|
||||||
"""
|
"""
|
||||||
documentation = "https://api.rocket.rs/master/rocket_http/"
|
documentation = "https://api.rocket.rs/master/rocket_http/"
|
||||||
homepage = "https://rocket.rs"
|
homepage = "https://rocket.rs"
|
||||||
repository = "https://github.com/SergioBenitez/Rocket"
|
repository = "https://github.com/rwf2/Rocket"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
keywords = ["rocket", "web", "framework", "http"]
|
keywords = ["rocket", "web", "framework", "http"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//! HTTP library when needed. Because the underlying HTTP library is likely to
|
//! HTTP library when needed. Because the underlying HTTP library is likely to
|
||||||
//! change (see [#17]), types in [`hyper`] should be considered unstable.
|
//! change (see [#17]), types in [`hyper`] should be considered unstable.
|
||||||
//!
|
//!
|
||||||
//! [#17]: https://github.com/SergioBenitez/Rocket/issues/17
|
//! [#17]: https://github.com/rwf2/Rocket/issues/17
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate pear;
|
extern crate pear;
|
||||||
|
|
|
@ -631,7 +631,7 @@ impl<T> SuffixedRouteUri<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// See https://github.com/SergioBenitez/Rocket/issues/1534.
|
// See https://github.com/rwf2/Rocket/issues/1534.
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod prefix_soundness_test {
|
mod prefix_soundness_test {
|
||||||
use crate::uri::fmt::{Formatter, UriDisplay, Query};
|
use crate::uri::fmt::{Formatter, UriDisplay, Query};
|
||||||
|
|
|
@ -7,7 +7,7 @@ Web framework with a focus on usability, security, extensibility, and speed.
|
||||||
"""
|
"""
|
||||||
documentation = "https://api.rocket.rs/master/rocket/"
|
documentation = "https://api.rocket.rs/master/rocket/"
|
||||||
homepage = "https://rocket.rs"
|
homepage = "https://rocket.rs"
|
||||||
repository = "https://github.com/SergioBenitez/Rocket"
|
repository = "https://github.com/rwf2/Rocket"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
keywords = ["rocket", "web", "framework", "server"]
|
keywords = ["rocket", "web", "framework", "server"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -40,7 +40,7 @@ define_log_macro!(launch_meta (launch_meta_): info, "rocket::launch", $);
|
||||||
define_log_macro!(launch_info (launch_msg_): warn, "rocket::launch", $);
|
define_log_macro!(launch_info (launch_msg_): warn, "rocket::launch", $);
|
||||||
|
|
||||||
// `print!` panics when stdout isn't available, but this macro doesn't. See
|
// `print!` panics when stdout isn't available, but this macro doesn't. See
|
||||||
// SergioBenitez/Rocket#2019 and rust-lang/rust#46016 for more.
|
// rwf2/Rocket#2019 and rust-lang/rust#46016 for more.
|
||||||
//
|
//
|
||||||
// Unfortunately, `libtest` captures output by replacing a special sink that
|
// Unfortunately, `libtest` captures output by replacing a special sink that
|
||||||
// `print!`, and _only_ `print!`, writes to. Using `write!` directly bypasses
|
// `print!`, and _only_ `print!`, writes to. Using `write!` directly bypasses
|
||||||
|
|
|
@ -29,8 +29,8 @@ Rocket API. They are replaced at build time with a URL prefix. At present, the
|
||||||
following aliases are available, where `${version}` is Rocket's version string
|
following aliases are available, where `${version}` is Rocket's version string
|
||||||
at the time of compilation:
|
at the time of compilation:
|
||||||
|
|
||||||
* `@example`: https://github.com/SergioBenitez/Rocket/tree/${version}/examples
|
* `@example`: https://github.com/rwf2/Rocket/tree/${version}/examples
|
||||||
* `@github`: https://github.com/SergioBenitez/Rocket/tree/${version}
|
* `@github`: https://github.com/rwf2/Rocket/tree/${version}
|
||||||
* `@api`: https://api.rocket.rs/${version}
|
* `@api`: https://api.rocket.rs/${version}
|
||||||
|
|
||||||
For example, to link to `Rocket::launch()`, you might write:
|
For example, to link to `Rocket::launch()`, you might write:
|
||||||
|
|
|
@ -9,6 +9,6 @@ If you run into any issues upgrading, we encourage you to ask questions via
|
||||||
bridged [`#rocket`] IRC channel at `irc.libera.chat`. The [FAQ](../faq/) also
|
bridged [`#rocket`] IRC channel at `irc.libera.chat`. The [FAQ](../faq/) also
|
||||||
provides answers to commonly asked questions.
|
provides answers to commonly asked questions.
|
||||||
|
|
||||||
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
[GitHub discussions]: https://github.com/rwf2/Rocket/discussions
|
||||||
[`#rocket:mozilla.org`]: https://chat.mozilla.org/#/room/#rocket:mozilla.org
|
[`#rocket:mozilla.org`]: https://chat.mozilla.org/#/room/#rocket:mozilla.org
|
||||||
[`#rocket`]: https://kiwiirc.com/client/irc.libera.chat/#rocket
|
[`#rocket`]: https://kiwiirc.com/client/irc.libera.chat/#rocket
|
||||||
|
|
|
@ -12,7 +12,7 @@ Rocket repository and run the included examples in the `examples/` directory.
|
||||||
For instance, the following set of commands runs the `hello` example:
|
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/rwf2/Rocket
|
||||||
cd Rocket
|
cd Rocket
|
||||||
git checkout master
|
git checkout master
|
||||||
cd examples/hello
|
cd examples/hello
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
We hope you agree that Rocket is a refreshing take on web frameworks. As with
|
We hope you agree that Rocket is a refreshing take on web frameworks. As with
|
||||||
any software project, Rocket is _alive_. There are always things to improve, and
|
any software project, Rocket is _alive_. There are always things to improve, and
|
||||||
we're happy to take the best ideas. If you have something in mind, please
|
we're happy to take the best ideas. If you have something in mind, please
|
||||||
[submit an issue](https://github.com/SergioBenitez/Rocket/issues).
|
[submit an issue](https://github.com/rwf2/Rocket/issues).
|
||||||
|
|
||||||
## Getting Help
|
## Getting Help
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ Below you'll find a collection of commonly asked questions and answers. If you
|
||||||
have suggestions for questions you'd like to see answered here, [comment on the
|
have suggestions for questions you'd like to see answered here, [comment on the
|
||||||
discussion thread].
|
discussion thread].
|
||||||
|
|
||||||
[comment on the discussion thread]: https://github.com/SergioBenitez/Rocket/discussions/1836
|
[comment on the discussion thread]: https://github.com/rwf2/Rocket/discussions/1836
|
||||||
|
|
||||||
## About Rocket
|
## About Rocket
|
||||||
|
|
||||||
|
@ -215,7 +215,7 @@ you'd like to see here!
|
||||||
[Plume]: https://github.com/Plume-org/Plume
|
[Plume]: https://github.com/Plume-org/Plume
|
||||||
[Hagrid]: https://gitlab.com/hagrid-keyserver/hagrid/
|
[Hagrid]: https://gitlab.com/hagrid-keyserver/hagrid/
|
||||||
[SourceGraph Syntax Highlighter]: https://github.com/sourcegraph/sourcegraph/tree/main/docker-images/syntax-highlighter
|
[SourceGraph Syntax Highlighter]: https://github.com/sourcegraph/sourcegraph/tree/main/docker-images/syntax-highlighter
|
||||||
[Let us know]: https://github.com/SergioBenitez/Rocket/discussions/categories/show-and-tell
|
[Let us know]: https://github.com/rwf2/Rocket/discussions/categories/show-and-tell
|
||||||
[Revolt]: https://github.com/revoltchat/backend
|
[Revolt]: https://github.com/revoltchat/backend
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -242,14 +242,14 @@ For example, work for Rocket v0.5 included:
|
||||||
* [Reporting multiple](https://github.com/bikeshedder/deadpool/issues/114)
|
* [Reporting multiple](https://github.com/bikeshedder/deadpool/issues/114)
|
||||||
[correctness issues](https://github.com/bikeshedder/deadpool/issues/113) in `deadpool`.
|
[correctness issues](https://github.com/bikeshedder/deadpool/issues/113) in `deadpool`.
|
||||||
* [Fixing a major usability issue in `async-stream`.](https://github.com/tokio-rs/async-stream/pull/57)
|
* [Fixing a major usability issue in `async-stream`.](https://github.com/tokio-rs/async-stream/pull/57)
|
||||||
* [Creating a brand new configuration library.](https://github.com/SergioBenitez/Figment)
|
* [Creating a brand new configuration library.](https://github.com/rwf2/Figment)
|
||||||
* [Updating](https://github.com/rousan/multer-rs/pull/21),
|
* [Updating](https://github.com/rousan/multer-rs/pull/21),
|
||||||
[fixing](https://github.com/rousan/multer-rs/pull/29), and
|
[fixing](https://github.com/rousan/multer-rs/pull/29), and
|
||||||
[maintaining](https://github.com/rousan/multer-rs/commit/2758e778e6aa2785b737c82fe45e58026bea2f01) `multer`.
|
[maintaining](https://github.com/rousan/multer-rs/commit/2758e778e6aa2785b737c82fe45e58026bea2f01) `multer`.
|
||||||
* [Significantly improving `async_trait` correctness and usability.](https://github.com/dtolnay/async-trait/pull/143)
|
* [Significantly improving `async_trait` correctness and usability.](https://github.com/dtolnay/async-trait/pull/143)
|
||||||
* [Porting `Pattern` APIs to stable.](https://github.com/SergioBenitez/stable-pattern)
|
* [Porting `Pattern` APIs to stable.](https://github.com/rwf2/stable-pattern)
|
||||||
* [Porting macro diagnostics to stable.](https://github.com/SergioBenitez/proc-macro2-diagnostics)
|
* [Porting macro diagnostics to stable.](https://github.com/rwf2/proc-macro2-diagnostics)
|
||||||
* [Creating a brand new byte unit library.](https://github.com/SergioBenitez/ubyte)
|
* [Creating a brand new byte unit library.](https://github.com/rwf2/ubyte)
|
||||||
* [Fixing a bug in `rustc`'s `libtest`.](https://github.com/rust-lang/rust/pull/78227)
|
* [Fixing a bug in `rustc`'s `libtest`.](https://github.com/rust-lang/rust/pull/78227)
|
||||||
|
|
||||||
A version of Rocket is released whenever it is feature-complete and exceeds
|
A version of Rocket is released whenever it is feature-complete and exceeds
|
||||||
|
@ -284,7 +284,7 @@ application.
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
[working on it]: https://github.com/SergioBenitez/Rocket/issues/90
|
[working on it]: https://github.com/rwf2/Rocket/issues/90
|
||||||
[Server-Sent Events]: @api/rocket/response/stream/struct.EventStream.html
|
[Server-Sent Events]: @api/rocket/response/stream/struct.EventStream.html
|
||||||
[chat example]: @example/chat
|
[chat example]: @example/chat
|
||||||
|
|
||||||
|
@ -645,7 +645,7 @@ is to depend on a `contrib` library from git while also depending on a
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
rocket = "0.6.0-dev"
|
rocket = "0.6.0-dev"
|
||||||
rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" }
|
rocket_db_pools = { git = "https://github.com/rwf2/Rocket.git" }
|
||||||
```
|
```
|
||||||
|
|
||||||
This is _never_ correct. If libraries or applications interact via types from a
|
This is _never_ correct. If libraries or applications interact via types from a
|
||||||
|
|
|
@ -56,7 +56,7 @@ rocket = "0.6.0-dev"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
`
|
`
|
||||||
`
|
`
|
||||||
rocket = { git = "https://github.com/SergioBenitez/Rocket", rev = "######" }
|
rocket = { git = "https://github.com/rwf2/Rocket", rev = "######" }
|
||||||
`
|
`
|
||||||
|
|
||||||
Modify `src/main.rs` so that it contains the code for the Rocket `Hello, world!`
|
Modify `src/main.rs` so that it contains the code for the Rocket `Hello, world!`
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
Today marks the first major release since Rocket's debut a little over a month
|
Today marks the first major release since Rocket's debut a little over a month
|
||||||
ago. Rocket v0.2 packs a ton of new features, fixes, and general improvements.
|
ago. Rocket v0.2 packs a ton of new features, fixes, and general improvements.
|
||||||
Much of the development in v0.2 was led by the community, either through reports
|
Much of the development in v0.2 was led by the community, either through reports
|
||||||
via the [GitHub issue tracker](https://github.com/SergioBenitez/Rocket/issues)
|
via the [GitHub issue tracker](https://github.com/rwf2/Rocket/issues)
|
||||||
or via direct contributions. In fact, there have been **20 unique contributors**
|
or via direct contributions. In fact, there have been **20 unique contributors**
|
||||||
to Rocket's codebase since Rocket's initial introduction! Community feedback has
|
to Rocket's codebase since Rocket's initial introduction! Community feedback has
|
||||||
been incredible. As a special thank you, we include the names of these
|
been incredible. As a special thank you, we include the names of these
|
||||||
|
@ -290,7 +290,7 @@ applications.
|
||||||
Three bugs were fixed in this release:
|
Three bugs were fixed in this release:
|
||||||
|
|
||||||
* Handlebars partials were not properly registered
|
* Handlebars partials were not properly registered
|
||||||
([#122](https://github.com/SergioBenitez/Rocket/issues/122)).
|
([#122](https://github.com/rwf2/Rocket/issues/122)).
|
||||||
* `Rocket::custom` did not set the custom configuration as the `active`
|
* `Rocket::custom` did not set the custom configuration as the `active`
|
||||||
configuration.
|
configuration.
|
||||||
* Route path segments with more than one dynamic parameter were erroneously
|
* Route path segments with more than one dynamic parameter were erroneously
|
||||||
|
@ -319,7 +319,7 @@ In addition to new features, Rocket saw the following smaller improvements:
|
||||||
Rocket v0.2 also includes all of the new features, bug fixes, and improvements
|
Rocket v0.2 also includes all of the new features, bug fixes, and improvements
|
||||||
from versions 0.1.1 through 0.1.6. You can read more about these changes in the
|
from versions 0.1.1 through 0.1.6. You can read more about these changes in the
|
||||||
[v0.1
|
[v0.1
|
||||||
CHANGELOG](https://github.com/SergioBenitez/Rocket/blob/v0.1/CHANGELOG.md).
|
CHANGELOG](https://github.com/rwf2/Rocket/blob/v0.1/CHANGELOG.md).
|
||||||
|
|
||||||
## What's next?
|
## What's next?
|
||||||
|
|
||||||
|
@ -327,7 +327,7 @@ Work now begins on Rocket v0.3! The focus of the next major release will be on
|
||||||
security. In particular, three major security features are planned:
|
security. In particular, three major security features are planned:
|
||||||
|
|
||||||
1. **Automatic CSRF protection across all payload-based requests
|
1. **Automatic CSRF protection across all payload-based requests
|
||||||
([#14](https://github.com/SergioBenitez/Rocket/issues/14)).**
|
([#14](https://github.com/rwf2/Rocket/issues/14)).**
|
||||||
|
|
||||||
Rocket will automatically check the origin of requests made for HTTP `PUT`,
|
Rocket will automatically check the origin of requests made for HTTP `PUT`,
|
||||||
`POST`, `DELETE`, and `PATCH` requests, allowing only authorized requests to
|
`POST`, `DELETE`, and `PATCH` requests, allowing only authorized requests to
|
||||||
|
@ -335,14 +335,14 @@ security. In particular, three major security features are planned:
|
||||||
requests made via JavaScript.
|
requests made via JavaScript.
|
||||||
|
|
||||||
2. **Encryption and signing of session-based cookies
|
2. **Encryption and signing of session-based cookies
|
||||||
([#20](https://github.com/SergioBenitez/Rocket/issues/20)).**
|
([#20](https://github.com/rwf2/Rocket/issues/20)).**
|
||||||
|
|
||||||
Built-in session support will encrypt and sign cookies using a user supplied
|
Built-in session support will encrypt and sign cookies using a user supplied
|
||||||
`session_key`. Encryption and signing will occur automatically for
|
`session_key`. Encryption and signing will occur automatically for
|
||||||
session-based cookies.
|
session-based cookies.
|
||||||
|
|
||||||
3. **Explicit typing of raw HTTP data strings
|
3. **Explicit typing of raw HTTP data strings
|
||||||
([#43](https://github.com/SergioBenitez/Rocket/issues/43)).**
|
([#43](https://github.com/rwf2/Rocket/issues/43)).**
|
||||||
|
|
||||||
A present, the standard `&str` type is used to represent raw HTTP data
|
A present, the standard `&str` type is used to represent raw HTTP data
|
||||||
strings. In the next release, a new type, `&RawStr`, will be used for this
|
strings. In the next release, a new type, `&RawStr`, will be used for this
|
||||||
|
@ -383,7 +383,7 @@ The following wonderful people helped make Rocket v0.2 happen:
|
||||||
Thank you all! Your contributions are greatly appreciated!
|
Thank you all! Your contributions are greatly appreciated!
|
||||||
|
|
||||||
Looking to help with Rocket's development? Head over to [Rocket's
|
Looking to help with Rocket's development? Head over to [Rocket's
|
||||||
GitHub](https://github.com/SergioBenitez/Rocket#contributing) and start
|
GitHub](https://github.com/rwf2/Rocket#contributing) and start
|
||||||
contributing!
|
contributing!
|
||||||
|
|
||||||
## Start using Rocket today!
|
## Start using Rocket today!
|
||||||
|
|
|
@ -30,7 +30,7 @@ Rocket 0.3 is a _big_ release, packed with over 100 changes. We highlight the
|
||||||
biggest new features here. For a complete description of everything new and
|
biggest new features here. For a complete description of everything new and
|
||||||
different in 0.3, please see the [CHANGELOG].
|
different in 0.3, please see the [CHANGELOG].
|
||||||
|
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.3.0/CHANGELOG.md#version-030-jul-14-2017
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.3.0/CHANGELOG.md#version-030-jul-14-2017
|
||||||
|
|
||||||
### Fairings
|
### Fairings
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ following new features:
|
||||||
|
|
||||||
This release includes many breaking changes such as support for `serde` 1.0. To
|
This release includes many breaking changes such as support for `serde` 1.0. To
|
||||||
keep this release note short, please see the
|
keep this release note short, please see the
|
||||||
[CHANGELOG](https://github.com/SergioBenitez/Rocket/blob/v0.3.0/CHANGELOG.md#breaking-changes)
|
[CHANGELOG](https://github.com/rwf2/Rocket/blob/v0.3.0/CHANGELOG.md#breaking-changes)
|
||||||
for the full list of breaking changes along with a short note about how to
|
for the full list of breaking changes along with a short note about how to
|
||||||
handle the breaking change in existing applications.
|
handle the breaking change in existing applications.
|
||||||
|
|
||||||
|
@ -277,7 +277,7 @@ Rocket 0.4, of course! The focus of the next major release is two-fold: security
|
||||||
and usability. The following major features are planned:
|
and usability. The following major features are planned:
|
||||||
|
|
||||||
1. **Automatic CSRF protection across all payload-based requests
|
1. **Automatic CSRF protection across all payload-based requests
|
||||||
([#14](https://github.com/SergioBenitez/Rocket/issues/14)).**
|
([#14](https://github.com/rwf2/Rocket/issues/14)).**
|
||||||
|
|
||||||
This is a carry-over from the 0.3 wishlist. Rocket will automatically check
|
This is a carry-over from the 0.3 wishlist. Rocket will automatically check
|
||||||
the origin of requests made for HTTP `PUT`, `POST`, `DELETE`, and `PATCH`
|
the origin of requests made for HTTP `PUT`, `POST`, `DELETE`, and `PATCH`
|
||||||
|
@ -285,7 +285,7 @@ and usability. The following major features are planned:
|
||||||
checking form submissions and requests made via JavaScript.
|
checking form submissions and requests made via JavaScript.
|
||||||
|
|
||||||
2. **First-class database support
|
2. **First-class database support
|
||||||
([#167](https://github.com/SergioBenitez/Rocket/issues/167)).**
|
([#167](https://github.com/rwf2/Rocket/issues/167)).**
|
||||||
|
|
||||||
Connecting a database to Rocket is presently [much wordier than necessary].
|
Connecting a database to Rocket is presently [much wordier than necessary].
|
||||||
The plan for 0.4 is to minimize the amount of effort. At most, a couple of
|
The plan for 0.4 is to minimize the amount of effort. At most, a couple of
|
||||||
|
@ -293,7 +293,7 @@ and usability. The following major features are planned:
|
||||||
required.
|
required.
|
||||||
|
|
||||||
3. **Typed URL generation from routes
|
3. **Typed URL generation from routes
|
||||||
([#263](https://github.com/SergioBenitez/Rocket/issues/263)).**
|
([#263](https://github.com/rwf2/Rocket/issues/263)).**
|
||||||
|
|
||||||
Explicitly writing URLs is error-prone. Because routes are fully-typed in
|
Explicitly writing URLs is error-prone. Because routes are fully-typed in
|
||||||
Rocket, it's possible to check that a URL corresponding to a route
|
Rocket, it's possible to check that a URL corresponding to a route
|
||||||
|
@ -327,5 +327,5 @@ The following wonderful people helped make Rocket v0.3 happen:
|
||||||
Thank you all! Your contributions are greatly appreciated!
|
Thank you all! Your contributions are greatly appreciated!
|
||||||
|
|
||||||
Looking to help with Rocket's development? Head over to [Rocket's
|
Looking to help with Rocket's development? Head over to [Rocket's
|
||||||
GitHub](https://github.com/SergioBenitez/Rocket#contributing) and start
|
GitHub](https://github.com/rwf2/Rocket#contributing) and start
|
||||||
contributing!
|
contributing!
|
||||||
|
|
|
@ -24,10 +24,10 @@ and [API docs], has been updated in full for v0.4.
|
||||||
We're excited for your feedback, and we look forward to seeing you again on
|
We're excited for your feedback, and we look forward to seeing you again on
|
||||||
Friday, November 9th for the general release!
|
Friday, November 9th for the general release!
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
[API docs]: https://api.rocket.rs/v0.4/rocket/
|
[API docs]: https://api.rocket.rs/v0.4/rocket/
|
||||||
[guide]: @guide-v0.4
|
[guide]: @guide-v0.4
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/tree/v0.4/CHANGELOG.md#version-040-rc-oct-31-2018
|
[CHANGELOG]: https://github.com/rwf2/Rocket/tree/v0.4/CHANGELOG.md#version-040-rc-oct-31-2018
|
||||||
|
|
||||||
## About Rocket
|
## About Rocket
|
||||||
|
|
||||||
|
|
|
@ -31,10 +31,10 @@ in full for the second release candidate.
|
||||||
We're excited for your feedback, and we look forward to seeing you again on
|
We're excited for your feedback, and we look forward to seeing you again on
|
||||||
Wednesday, December 5th for the general release!
|
Wednesday, December 5th for the general release!
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
[API docs]: @api-v0.4
|
[API docs]: @api-v0.4
|
||||||
[guide]: @guide-v0.4
|
[guide]: @guide-v0.4
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/tree/v0.4/CHANGELOG.md#version-040-rc2-nov-30-2018
|
[CHANGELOG]: https://github.com/rwf2/Rocket/tree/v0.4/CHANGELOG.md#version-040-rc2-nov-30-2018
|
||||||
|
|
||||||
## About Rocket
|
## About Rocket
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ Rocket 0.4 is the largest release to date by a _wide_ margin. It is packed with
|
||||||
hundreds of changes. We highlight the largest of them here. For a complete
|
hundreds of changes. We highlight the largest of them here. For a complete
|
||||||
description of everything new and different in 0.4, please see the [CHANGELOG].
|
description of everything new and different in 0.4, please see the [CHANGELOG].
|
||||||
|
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.4.0/CHANGELOG.md#version-040-dec-06-2018
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.4.0/CHANGELOG.md#version-040-dec-06-2018
|
||||||
|
|
||||||
### Maintainers += 1
|
### Maintainers += 1
|
||||||
|
|
||||||
|
@ -245,7 +245,7 @@ section and the updated [`route` attribute] documentation.
|
||||||
[`FromQuery`]: @api-v0.4/rocket/request/trait.FromQuery.html
|
[`FromQuery`]: @api-v0.4/rocket/request/trait.FromQuery.html
|
||||||
[`route` attribute]: @api-v0.4/rocket_codegen/attr.get.html
|
[`route` attribute]: @api-v0.4/rocket_codegen/attr.get.html
|
||||||
[Query Strings]: @guide-v0.4/requests/#query-strings
|
[Query Strings]: @guide-v0.4/requests/#query-strings
|
||||||
[#608]: https://github.com/SergioBenitez/Rocket/issues/608
|
[#608]: https://github.com/rwf2/Rocket/issues/608
|
||||||
|
|
||||||
### Stateful Handlers
|
### Stateful Handlers
|
||||||
|
|
||||||
|
@ -399,7 +399,7 @@ following new features:
|
||||||
## Breaking Changes
|
## Breaking Changes
|
||||||
|
|
||||||
This release includes many breaking changes. Please see the
|
This release includes many breaking changes. Please see the
|
||||||
[CHANGELOG](https://github.com/SergioBenitez/Rocket/blob/v0.3.0/CHANGELOG.md#breaking-changes)
|
[CHANGELOG](https://github.com/rwf2/Rocket/blob/v0.3.0/CHANGELOG.md#breaking-changes)
|
||||||
for a complete list of breaking changes along with details on handling the
|
for a complete list of breaking changes along with details on handling the
|
||||||
breaking change in existing applications.
|
breaking change in existing applications.
|
||||||
|
|
||||||
|
@ -513,10 +513,10 @@ in mind, the roadmap for 0.5 includes:
|
||||||
will protect against CSRF using more robust techniques. Rocket will also add
|
will protect against CSRF using more robust techniques. Rocket will also add
|
||||||
support for automatic, browser-based XSS protection.
|
support for automatic, browser-based XSS protection.
|
||||||
|
|
||||||
[#17]: https://github.com/SergioBenitez/Rocket/issues/17
|
[#17]: https://github.com/rwf2/Rocket/issues/17
|
||||||
[#19]: https://github.com/SergioBenitez/Rocket/issues/19
|
[#19]: https://github.com/rwf2/Rocket/issues/19
|
||||||
[#106]: https://github.com/SergioBenitez/Rocket/issues/106
|
[#106]: https://github.com/rwf2/Rocket/issues/106
|
||||||
[#14]: https://github.com/SergioBenitez/Rocket/issues/14
|
[#14]: https://github.com/rwf2/Rocket/issues/14
|
||||||
|
|
||||||
## Rocket v0.4 Contributors
|
## Rocket v0.4 Contributors
|
||||||
|
|
||||||
|
@ -570,5 +570,5 @@ The following wonderful people helped make Rocket 0.4 happen:
|
||||||
Thank you all! Your contributions are **greatly** appreciated!
|
Thank you all! Your contributions are **greatly** appreciated!
|
||||||
|
|
||||||
Looking to help with Rocket's development? Head over to [Rocket's
|
Looking to help with Rocket's development? Head over to [Rocket's
|
||||||
GitHub](https://github.com/SergioBenitez/Rocket#contributing) and start
|
GitHub](https://github.com/rwf2/Rocket#contributing) and start
|
||||||
contributing!
|
contributing!
|
||||||
|
|
|
@ -25,9 +25,9 @@ v0.4.
|
||||||
We hope you enjoy Rocket v0.5 as much as we enjoyed creating it. We look forward
|
We hope you enjoy Rocket v0.5 as much as we enjoyed creating it. We look forward
|
||||||
to your feedback!
|
to your feedback!
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
[GitHub discussions]: https://github.com/rwf2/Rocket/discussions
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.1/CHANGELOG.md
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.5.0-rc.1/CHANGELOG.md
|
||||||
[API docs]: @api-v0.5
|
[API docs]: @api-v0.5
|
||||||
[guide]: @guide-v0.5
|
[guide]: @guide-v0.5
|
||||||
|
|
||||||
|
|
|
@ -24,10 +24,10 @@ 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
|
We're excited for your feedback, and we look forward to seeing you again soon
|
||||||
for the general release!
|
for the general release!
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
[GitHub discussions]: https://github.com/rwf2/Rocket/discussions
|
||||||
[migration guide]: @guide-v0.5/upgrading
|
[migration guide]: @guide-v0.5/upgrading
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.2/CHANGELOG.md
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.5.0-rc.2/CHANGELOG.md
|
||||||
[API docs]: @api-v0.5
|
[API docs]: @api-v0.5
|
||||||
[guide]: @guide-v0.5
|
[guide]: @guide-v0.5
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ 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
|
see the new [migration guide] for complete details on how to upgrade from Rocket
|
||||||
v0.4. For changes since Rocket v0.5.0-rc.2, please see the [CHANGELOG].
|
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/rwf2/Rocket/issues
|
||||||
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
[GitHub discussions]: https://github.com/rwf2/Rocket/discussions
|
||||||
[migration guide]: @guide-v0.5/upgrading
|
[migration guide]: @guide-v0.5/upgrading
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.3/CHANGELOG.md
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.5.0-rc.3/CHANGELOG.md
|
||||||
|
|
||||||
## About Rocket
|
## About Rocket
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ 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
|
see the new [migration guide] for complete details on how to upgrade from Rocket
|
||||||
v0.4. For changes since Rocket v0.5.0-rc.3, please see the [CHANGELOG].
|
v0.4. For changes since Rocket v0.5.0-rc.3, please see the [CHANGELOG].
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
[GitHub discussions]: https://github.com/rwf2/Rocket/discussions
|
||||||
[migration guide]: @guide-v0.5/upgrading
|
[migration guide]: @guide-v0.5/upgrading
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.4/CHANGELOG.md
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.5.0-rc.4/CHANGELOG.md
|
||||||
|
|
||||||
## About Rocket
|
## About Rocket
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ ecosystem]. The changes are numerous, so we focus on the most noteworthy changes
|
||||||
here and encourage everyone to read the [CHANGELOG] for a complete list. For
|
here and encourage everyone to read the [CHANGELOG] for a complete list. For
|
||||||
answers to frequently asked questions, see the new [FAQ].
|
answers to frequently asked questions, see the new [FAQ].
|
||||||
|
|
||||||
[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5.0/CHANGELOG.md
|
[CHANGELOG]: https://github.com/rwf2/Rocket/blob/v0.5.0/CHANGELOG.md
|
||||||
[broader ecosystem]: @guide-v0.5/faq/#releases
|
[broader ecosystem]: @guide-v0.5/faq/#releases
|
||||||
[FAQ]: @guide-v0.5/faq
|
[FAQ]: @guide-v0.5/faq
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ release:
|
||||||
currently calls out the attribute for each affected trait, as well as offer
|
currently calls out the attribute for each affected trait, as well as offer
|
||||||
modest performance improvements.
|
modest performance improvements.
|
||||||
|
|
||||||
0. [**Typed Catchers**](https://github.com/SergioBenitez/Rocket/issues/749)
|
0. [**Typed Catchers**](https://github.com/rwf2/Rocket/issues/749)
|
||||||
|
|
||||||
Today's catchers cannot receive strictly typed error data. This results
|
Today's catchers cannot receive strictly typed error data. This results
|
||||||
in workarounds where error data is queried for well-typedness at runtime.
|
in workarounds where error data is queried for well-typedness at runtime.
|
||||||
|
@ -436,7 +436,7 @@ release:
|
||||||
the next release, we seek to extend this approach.
|
the next release, we seek to extend this approach.
|
||||||
|
|
||||||
[an interface for implementing and plugging-in custom connection listeners]:
|
[an interface for implementing and plugging-in custom connection listeners]:
|
||||||
https://github.com/SergioBenitez/Rocket/issues/1070#issuecomment-1491101952
|
https://github.com/rwf2/Rocket/issues/1070#issuecomment-1491101952
|
||||||
[stabilization of `async fn` in traits]: https://github.com/rust-lang/rust/pull/115822
|
[stabilization of `async fn` in traits]: https://github.com/rust-lang/rust/pull/115822
|
||||||
[poor benchmarking]: @guide-v0.5/faq/#performance
|
[poor benchmarking]: @guide-v0.5/faq/#performance
|
||||||
|
|
||||||
|
@ -450,7 +450,7 @@ leading the migration to `async` and Rust stable along with tireless efforts to
|
||||||
improve Rocket's documentation and address the community. Rocket is better for
|
improve Rocket's documentation and address the community. Rocket is better for
|
||||||
having had Jeb along for the ride. Thank you, Jeb.
|
having had Jeb along for the ride. Thank you, Jeb.
|
||||||
|
|
||||||
[Jeb Rosen]: https://github.com/SergioBenitez/Rocket/commits?author=jebrosen
|
[Jeb Rosen]: https://github.com/rwf2/Rocket/commits?author=jebrosen
|
||||||
|
|
||||||
A special thank you to all of Rocket's users, especially those who diligently
|
A special thank you to all of Rocket's users, especially those who diligently
|
||||||
waded through all four release candidates, raised issues, and participated on
|
waded through all four release candidates, raised issues, and participated on
|
||||||
|
@ -610,7 +610,7 @@ A heartfelt _thank you_ as well to _all_ **148** who contributed to Rocket v0.5:
|
||||||
<li>Yusuke Kominami</li>
|
<li>Yusuke Kominami</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions
|
[GitHub discussions]: https://github.com/rwf2/Rocket/discussions
|
||||||
[Matrix channel]: https://chat.mozilla.org/#/room/#rocket:mozilla.org
|
[Matrix channel]: https://chat.mozilla.org/#/room/#rocket:mozilla.org
|
||||||
|
|
||||||
## Get Involved
|
## Get Involved
|
||||||
|
@ -618,5 +618,5 @@ A heartfelt _thank you_ as well to _all_ **148** who contributed to Rocket v0.5:
|
||||||
Looking to help with Rocket? To contribute code, head over to [GitHub]. To get
|
Looking to help with Rocket? To contribute code, head over to [GitHub]. To get
|
||||||
involved with the project, see the [RWF2 prelaunch announcement]. We'd love to have you.
|
involved with the project, see the [RWF2 prelaunch announcement]. We'd love to have you.
|
||||||
|
|
||||||
[GitHub]: https://github.com/SergioBenitez/Rocket
|
[GitHub]: https://github.com/rwf2/Rocket
|
||||||
[RWF2 prelaunch announcement]: ../2023-11-17-rwf2-prelaunch/
|
[RWF2 prelaunch announcement]: ../2023-11-17-rwf2-prelaunch/
|
||||||
|
|
|
@ -122,7 +122,7 @@ opportunity to discover issues with Rocket v0.4 and its documentation before its
|
||||||
general release. We encourage all users to migrate their applications to the
|
general release. We encourage all users to migrate their applications to the
|
||||||
second release candidate and report any issues to the [GitHub issue tracker].
|
second release candidate and report any issues to the [GitHub issue tracker].
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[articles]]
|
[[articles]]
|
||||||
|
@ -142,7 +142,7 @@ its documentation before its general release. We encourage all users to migrate
|
||||||
their applications to the release candidate and report any issues to the [GitHub
|
their applications to the release candidate and report any issues to the [GitHub
|
||||||
issue tracker].
|
issue tracker].
|
||||||
|
|
||||||
[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues
|
[GitHub issue tracker]: https://github.com/rwf2/Rocket/issues
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[articles]]
|
[[articles]]
|
||||||
|
@ -172,7 +172,7 @@ snippet = """
|
||||||
Today marks the first major release since Rocket's debut a little over a month
|
Today marks the first major release since Rocket's debut a little over a month
|
||||||
ago. Rocket v0.2 packs a ton of new features, fixes, and general improvements.
|
ago. Rocket v0.2 packs a ton of new features, fixes, and general improvements.
|
||||||
Much of the development in v0.2 was led by the community, either through reports
|
Much of the development in v0.2 was led by the community, either through reports
|
||||||
via the [GitHub issue tracker](https://github.com/SergioBenitez/Rocket/issues)
|
via the [GitHub issue tracker](https://github.com/rwf2/Rocket/issues)
|
||||||
or via direct contributions. In fact, there have been **20 unique contributors**
|
or via direct contributions. In fact, there have been **20 unique contributors**
|
||||||
to Rocket's codebase since Rocket's initial introduction! Community feedback has
|
to Rocket's codebase since Rocket's initial introduction! Community feedback has
|
||||||
been incredible. As a special thank you, we include the names of these
|
been incredible. As a special thank you, we include the names of these
|
||||||
|
|
Loading…
Reference in New Issue