From 915b92264d31990fb9797755ebe8ee599b663cac Mon Sep 17 00:00:00 2001 From: Ryan Tate Date: Tue, 27 Aug 2024 22:04:15 -0700 Subject: [PATCH] remove cfg feature tags Signed-off-by: Ryan Tate --- src/core/util/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/util/mod.rs b/src/core/util/mod.rs index fe7b7e6..b5f1cc6 100644 --- a/src/core/util/mod.rs +++ b/src/core/util/mod.rs @@ -1,4 +1,3 @@ -#[cfg(feature = "reqwest")] use anyhow::Context; use anyhow::Result; use async_trait::async_trait; @@ -16,11 +15,9 @@ pub(crate) fn base_request() -> http::request::Builder { Request::builder().header("Prefer", "OID4VP-0.0.20") } -#[cfg(feature = "reqwest")] #[derive(Debug)] pub struct ReqwestClient(reqwest::Client); -#[cfg(feature = "reqwest")] impl ReqwestClient { pub fn new() -> Result { reqwest::Client::builder() @@ -31,7 +28,6 @@ impl ReqwestClient { } } -#[cfg(feature = "reqwest")] #[async_trait] impl AsyncHttpClient for ReqwestClient { async fn execute(&self, request: Request>) -> Result>> {