refactor: rename feature to http-interop

This commit is contained in:
Kade Robertson
2023-02-13 16:07:32 -05:00
committed by Martin Algesten
parent dff55fda4e
commit 7dcd60cbaf
3 changed files with 11 additions and 11 deletions

View File

@@ -500,7 +500,7 @@ impl Request {
}
}
#[cfg(feature = "http")]
#[cfg(feature = "http-interop")]
impl From<http::request::Builder> for Request {
fn from(value: http::request::Builder) -> Self {
let mut new_request = crate::agent().request(
@@ -529,7 +529,7 @@ impl From<http::request::Builder> for Request {
}
}
#[cfg(feature = "http")]
#[cfg(feature = "http-interop")]
impl From<Request> for http::request::Builder {
fn from(value: Request) -> Self {
value