feat(lib): disable all optional features by default (#2336)
BREAKING CHANGE: All optional features have been disabled by default.
This commit is contained in:
@@ -14,8 +14,7 @@ pub(crate) struct Rewind<T> {
|
||||
}
|
||||
|
||||
impl<T> Rewind<T> {
|
||||
#[cfg(any(feature = "http2", test))]
|
||||
#[cfg(feature = "server")]
|
||||
#[cfg(any(all(feature = "http2", feature = "server"), test))]
|
||||
pub(crate) fn new(io: T) -> Self {
|
||||
Rewind {
|
||||
pre: None,
|
||||
|
||||
Reference in New Issue
Block a user