mirror of https://github.com/rwf2/Rocket.git
New version: 0.4.9.
This commit is contained in:
parent
f2a56f4222
commit
aabd886388
|
@ -1,3 +1,12 @@
|
||||||
|
# Version 0.4.9 (May 19, 2021)
|
||||||
|
|
||||||
|
## Core
|
||||||
|
|
||||||
|
* [[`#1645`], [`f2a56f`]] Fixed `Try` `impl FromResidual<Result> for Outcome`.
|
||||||
|
|
||||||
|
[`#1645`]: https://github.com/SergioBenitez/Rocket/issues/1645
|
||||||
|
[`f2a56f`]: https://github.com/SergioBenitez/Rocket/commit/f2a56f
|
||||||
|
|
||||||
# Version 0.4.8 (May 18, 2021)
|
# Version 0.4.8 (May 18, 2021)
|
||||||
|
|
||||||
## Core
|
## Core
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_contrib_codegen"
|
name = "rocket_contrib_codegen"
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
||||||
description = "Procedural macros for the Rocket contrib libraries."
|
description = "Procedural macros for the Rocket contrib libraries."
|
||||||
documentation = "https://api.rocket.rs/v0.4/rocket_contrib/"
|
documentation = "https://api.rocket.rs/v0.4/rocket_contrib/"
|
||||||
|
@ -26,6 +26,6 @@ yansi = "0.5"
|
||||||
version_check = "0.9.1"
|
version_check = "0.9.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rocket = { version = "0.4.8", path = "../../core/lib" }
|
rocket = { version = "0.4.9", path = "../../core/lib" }
|
||||||
rocket_contrib = { version = "0.4.8", path = "../lib", features = ["diesel_sqlite_pool"] }
|
rocket_contrib = { version = "0.4.9", path = "../lib", features = ["diesel_sqlite_pool"] }
|
||||||
trybuild = "1.0"
|
trybuild = "1.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_contrib"
|
name = "rocket_contrib"
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
||||||
description = "Community contributed libraries for the Rocket web framework."
|
description = "Community contributed libraries for the Rocket web framework."
|
||||||
documentation = "https://api.rocket.rs/v0.4/rocket_contrib/"
|
documentation = "https://api.rocket.rs/v0.4/rocket_contrib/"
|
||||||
|
@ -38,8 +38,8 @@ memcache_pool = ["databases", "memcache", "r2d2-memcache"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Global dependencies.
|
# Global dependencies.
|
||||||
rocket_contrib_codegen = { version = "0.4.8", path = "../codegen", optional = true }
|
rocket_contrib_codegen = { version = "0.4.9", path = "../codegen", optional = true }
|
||||||
rocket = { version = "0.4.8", path = "../../core/lib/", default-features = false }
|
rocket = { version = "0.4.9", path = "../../core/lib/", default-features = false }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
||||||
# Serialization and templating dependencies.
|
# Serialization and templating dependencies.
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["diesel_sqlite_pool"]
|
//! features = ["diesel_sqlite_pool"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["helmet"]
|
//! features = ["helmet"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["json"]
|
//! features = ["json"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["json"]
|
//! features = ["json"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["msgpack"]
|
//! features = ["msgpack"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["serve"]
|
//! features = ["serve"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["handlebars_templates", "tera_templates"]
|
//! features = ["handlebars_templates", "tera_templates"]
|
||||||
//! ```
|
//! ```
|
||||||
|
@ -158,7 +158,7 @@ const DEFAULT_TEMPLATE_DIR: &str = "templates";
|
||||||
///
|
///
|
||||||
/// ```toml
|
/// ```toml
|
||||||
/// [dependencies.rocket_contrib]
|
/// [dependencies.rocket_contrib]
|
||||||
/// version = "0.4.8"
|
/// version = "0.4.9"
|
||||||
/// default-features = false
|
/// default-features = false
|
||||||
/// features = ["handlebars_templates", "tera_templates"]
|
/// features = ["handlebars_templates", "tera_templates"]
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.rocket_contrib]
|
//! [dependencies.rocket_contrib]
|
||||||
//! version = "0.4.8"
|
//! version = "0.4.9"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["uuid"]
|
//! features = ["uuid"]
|
||||||
//! ```
|
//! ```
|
||||||
|
@ -34,7 +34,7 @@ pub use self::uuid_crate::parser::ParseError;
|
||||||
///
|
///
|
||||||
/// ```toml
|
/// ```toml
|
||||||
/// [dependencies.rocket_contrib]
|
/// [dependencies.rocket_contrib]
|
||||||
/// version = "0.4.8"
|
/// version = "0.4.9"
|
||||||
/// default-features = false
|
/// default-features = false
|
||||||
/// features = ["uuid"]
|
/// features = ["uuid"]
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_codegen"
|
name = "rocket_codegen"
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
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.4/rocket_codegen/"
|
documentation = "https://api.rocket.rs/v0.4/rocket_codegen/"
|
||||||
|
@ -17,7 +17,7 @@ proc-macro = true
|
||||||
[dependencies]
|
[dependencies]
|
||||||
indexmap = "1.0"
|
indexmap = "1.0"
|
||||||
quote = "0.6.1"
|
quote = "0.6.1"
|
||||||
rocket_http = { version = "0.4.8", path = "../http/" }
|
rocket_http = { version = "0.4.9", path = "../http/" }
|
||||||
devise = "0.2"
|
devise = "0.2"
|
||||||
glob = "0.3"
|
glob = "0.3"
|
||||||
|
|
||||||
|
@ -26,5 +26,5 @@ yansi = "0.5"
|
||||||
version_check = "0.9.1"
|
version_check = "0.9.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rocket = { version = "0.4.8", path = "../lib" }
|
rocket = { version = "0.4.9", path = "../lib" }
|
||||||
trybuild = "1.0"
|
trybuild = "1.0"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! rocket = "0.4.8"
|
//! rocket = "0.4.9"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! 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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket_http"
|
name = "rocket_http"
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
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.
|
||||||
|
@ -36,4 +36,4 @@ features = ["server"]
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rocket = { version = "0.4.8", path = "../lib" }
|
rocket = { version = "0.4.9", path = "../lib" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rocket"
|
name = "rocket"
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>"]
|
||||||
description = """
|
description = """
|
||||||
Web framework for nightly with a focus on ease-of-use, expressibility, and speed.
|
Web framework for nightly with a focus on ease-of-use, expressibility, and speed.
|
||||||
|
@ -24,11 +24,11 @@ sse = []
|
||||||
private-cookies = ["rocket_http/private-cookies"]
|
private-cookies = ["rocket_http/private-cookies"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket_codegen = { version = "0.4.8", path = "../codegen" }
|
rocket_codegen = { version = "0.4.9", path = "../codegen" }
|
||||||
rocket_http = { version = "0.4.8", path = "../http" }
|
rocket_http = { version = "0.4.9", path = "../http" }
|
||||||
yansi = "0.5"
|
yansi = "0.5"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
toml = "0.4.8"
|
toml = "0.4.9"
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
state = "0.4.1"
|
state = "0.4.1"
|
||||||
time = "0.1"
|
time = "0.1"
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! rocket = "0.4.8"
|
//! rocket = "0.4.9"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! Then, add the following to the top of your `main.rs` file:
|
//! Then, add the following to the top of your `main.rs` file:
|
||||||
|
|
|
@ -15,7 +15,7 @@ For instance, the following set of commands runs the `hello_world` example:
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/SergioBenitez/Rocket
|
git clone https://github.com/SergioBenitez/Rocket
|
||||||
cd Rocket
|
cd Rocket
|
||||||
git checkout v0.4.8
|
git checkout v0.4.9
|
||||||
cd examples/hello_world
|
cd examples/hello_world
|
||||||
cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
|
|
|
@ -43,7 +43,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = "0.4.8"
|
rocket = "0.4.9"
|
||||||
```
|
```
|
||||||
|
|
||||||
And finally, create a skeleton Rocket application to work off of in
|
And finally, create a skeleton Rocket application to work off of in
|
||||||
|
|
|
@ -50,7 +50,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = "0.4.8"
|
rocket = "0.4.9"
|
||||||
```
|
```
|
||||||
|
|
||||||
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!`
|
||||||
|
|
|
@ -659,7 +659,7 @@ so that you depend on `rocket` as follows:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = { version = "0.4.8", default-features = false }
|
rocket = { version = "0.4.9", default-features = false }
|
||||||
```
|
```
|
||||||
|
|
||||||
[`ring`]: https://github.com/briansmith/ring
|
[`ring`]: https://github.com/briansmith/ring
|
||||||
|
|
|
@ -272,7 +272,7 @@ databases, you'd write in `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.rocket_contrib]
|
[dependencies.rocket_contrib]
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["diesel_sqlite_pool"]
|
features = ["diesel_sqlite_pool"]
|
||||||
```
|
```
|
||||||
|
|
|
@ -307,7 +307,7 @@ dependency in your `Cargo.toml` file:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rocket = { version = "0.4.8", features = ["tls"] }
|
rocket = { version = "0.4.9", features = ["tls"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
TLS is configured through the `tls` configuration parameter. The value of `tls`
|
TLS is configured through the `tls` configuration parameter. The value of `tls`
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
[release]
|
[release]
|
||||||
version = "0.4.8"
|
version = "0.4.9"
|
||||||
date = "May 18, 2021"
|
date = "May 19, 2021"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Top features: displayed in the header under the introductory text.
|
# Top features: displayed in the header under the introductory text.
|
||||||
|
|
Loading…
Reference in New Issue