mirror of https://github.com/rwf2/Rocket.git
Enable 'cookie' 'secure' feature conditionally.
This was incorrectly enabled unconditionally in 442b668
.
This commit is contained in:
parent
68185ce0e2
commit
e390423083
|
@ -514,5 +514,4 @@ error[E0277]: the trait bound `bool: From<&str>` is not satisfied
|
||||||
209 | #[field(default = "no conversion")]
|
209 | #[field(default = "no conversion")]
|
||||||
| ^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `bool`
|
| ^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `bool`
|
||||||
|
|
|
|
||||||
= help: the trait `From<subtle::Choice>` is implemented for `bool`
|
|
||||||
= note: required because of the requirements on the impl of `Into<bool>` for `&str`
|
= note: required because of the requirements on the impl of `Into<bool>` for `&str`
|
||||||
|
|
|
@ -533,6 +533,4 @@ error[E0277]: the trait bound `bool: From<&str>` is not satisfied
|
||||||
209 | #[field(default = "no conversion")]
|
209 | #[field(default = "no conversion")]
|
||||||
| ^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `bool`
|
| ^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `bool`
|
||||||
|
|
|
|
||||||
= help: the following implementations were found:
|
|
||||||
<bool as From<subtle::Choice>>
|
|
||||||
= note: required because of the requirements on the impl of `Into<bool>` for `&str`
|
= note: required because of the requirements on the impl of `Into<bool>` for `&str`
|
||||||
|
|
|
@ -42,7 +42,7 @@ pear = "0.2.3"
|
||||||
pin-project-lite = "0.2"
|
pin-project-lite = "0.2"
|
||||||
memchr = "2"
|
memchr = "2"
|
||||||
stable-pattern = "0.1"
|
stable-pattern = "0.1"
|
||||||
cookie = { version = "0.16.0", features = ["percent-encode", "secure"] }
|
cookie = { version = "0.16.0", features = ["percent-encode"] }
|
||||||
state = "0.5.3"
|
state = "0.5.3"
|
||||||
futures = { version = "0.3", default-features = false }
|
futures = { version = "0.3", default-features = false }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue