feat(lib): disable all optional features by default (#2336)

BREAKING CHANGE: All optional features have been disabled by default.
This commit is contained in:
Sean McArthur
2020-11-19 10:05:39 -08:00
committed by GitHub
parent abb6471690
commit ed2b22a7f6
5 changed files with 68 additions and 55 deletions

View File

@@ -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,