Enable 'cookie' 'secure' feature conditionally.

This was incorrectly enabled unconditionally in 442b668.
This commit is contained in:
Konrad Borowski 2022-05-11 19:51:42 +02:00 committed by Sergio Benitez
parent 68185ce0e2
commit e390423083
3 changed files with 1 additions and 4 deletions

View File

@ -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`

View File

@ -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`

View File

@ -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 }