Skip to content

Commit

Permalink
refactor(proto): use HeaderMap type without client feature (#3491)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Dec 16, 2023
1 parent 31b4180 commit 53b560b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/proto/h1/role.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ use std::time::Instant;

use bytes::Bytes;
use bytes::BytesMut;
#[cfg(feature = "client")]
use http::header::Entry;
#[cfg(feature = "server")]
use http::header::ValueIter;
use http::header::{self, HeaderName, HeaderValue};
#[cfg(feature = "client")]
use http::{header::Entry, HeaderMap};
use http::header::{self, HeaderMap, HeaderName, HeaderValue};
use http::{Method, StatusCode, Version};

use crate::body::DecodedLength;
Expand Down

0 comments on commit 53b560b

Please sign in to comment.