From 808aa7bce0090f40d22d73bb0a8bd66e5aeacc22 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 3 Sep 2024 07:29:47 +0800 Subject: [PATCH] Fix building without cookies feature --- src/server/matchers/readers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/matchers/readers.rs b/src/server/matchers/readers.rs index faec118..4d4cee8 100644 --- a/src/server/matchers/readers.rs +++ b/src/server/matchers/readers.rs @@ -662,6 +662,7 @@ pub mod request_value { ) } + #[cfg(feature = "cookies")] #[inline] pub fn cookies(req: &HttpMockRequest) -> Option)>> { Some(