Make JSON and HTTP1 support optional (#286)

* Make json support an optional feature

* Fix Json type documentation

* Make hyper's http1 feature optional
This commit is contained in:
Jonas Platte
2021-10-02 15:46:33 +02:00
committed by GitHub
parent cc4ae6b297
commit 250ea0cfef
7 changed files with 28 additions and 8 deletions
+1
View File
@@ -18,6 +18,7 @@ mod redirect;
pub mod sse;
#[doc(no_inline)]
#[cfg(feature = "json")]
pub use crate::Json;
#[doc(inline)]