From e3904230836e35e116b21f987f122dd9588d0c07 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Wed, 11 May 2022 19:51:42 +0200 Subject: [PATCH] Enable 'cookie' 'secure' feature conditionally. This was incorrectly enabled unconditionally in 442b668. --- core/codegen/tests/ui-fail-nightly/from_form.stderr | 1 - core/codegen/tests/ui-fail-stable/from_form.stderr | 2 -- core/http/Cargo.toml | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/codegen/tests/ui-fail-nightly/from_form.stderr b/core/codegen/tests/ui-fail-nightly/from_form.stderr index 1e7f9e50..d8ae083e 100644 --- a/core/codegen/tests/ui-fail-nightly/from_form.stderr +++ b/core/codegen/tests/ui-fail-nightly/from_form.stderr @@ -514,5 +514,4 @@ error[E0277]: the trait bound `bool: From<&str>` is not satisfied 209 | #[field(default = "no conversion")] | ^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `bool` | - = help: the trait `From` is implemented for `bool` = note: required because of the requirements on the impl of `Into` for `&str` diff --git a/core/codegen/tests/ui-fail-stable/from_form.stderr b/core/codegen/tests/ui-fail-stable/from_form.stderr index 182ea402..aa3c6954 100644 --- a/core/codegen/tests/ui-fail-stable/from_form.stderr +++ b/core/codegen/tests/ui-fail-stable/from_form.stderr @@ -533,6 +533,4 @@ error[E0277]: the trait bound `bool: From<&str>` is not satisfied 209 | #[field(default = "no conversion")] | ^^^^^^^^^^^^^^^ the trait `From<&str>` is not implemented for `bool` | - = help: the following implementations were found: - > = note: required because of the requirements on the impl of `Into` for `&str` diff --git a/core/http/Cargo.toml b/core/http/Cargo.toml index ea6f7851..55aedefb 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -42,7 +42,7 @@ pear = "0.2.3" pin-project-lite = "0.2" memchr = "2" 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" futures = { version = "0.3", default-features = false }