Skip to content

Commit 937cb67

Browse files
committed
schemas no longer feature gate
1 parent 9642e2e commit 937cb67

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

rama-net/src/user/credentials/basic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ impl PartialEq<Basic> for Basic {
161161

162162
impl Eq for Basic {}
163163

164-
#[cfg(feature = "http")]
165164
/// Http Credentail scheme for basic credentails
166165
pub const BASIC_SCHEME: &str = "Basic";
167166

rama-net/src/user/credentials/bearer.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ impl Bearer {
7474
}
7575
}
7676

77-
#[cfg(feature = "http")]
7877
/// Http Credentail scheme for basic credentails
7978
pub const BEARER_SCHEME: &str = "Bearer";
8079

rama-net/src/user/credentials/mod.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,13 @@ mod basic;
44

55
#[cfg(feature = "http")]
66
#[doc(inline)]
7-
pub use basic::BASIC_SCHEME;
8-
9-
#[doc(inline)]
10-
pub use basic::Basic;
7+
pub use basic::{BASIC_SCHEME, Basic};
118

129
mod bearer;
1310

1411
#[cfg(feature = "http")]
1512
#[doc(inline)]
16-
pub use bearer::BEARER_SCHEME;
17-
18-
#[doc(inline)]
19-
pub use bearer::Bearer;
13+
pub use bearer::{BEARER_SCHEME, Bearer};
2014

2115
mod proxy;
2216
#[doc(inline)]

0 commit comments

Comments
 (0)