* docs: replace doc_auto_cfg config with doc_cfg
* ci: enable docsrs only on rustdoc
* ci: Use cargo doc to detect missing documentation on building document
* ci: Remove graceful document to check
* Revert "ci: Remove graceful document to check"
This reverts commit 86f3ea044f.
Breaking changes:
- `serve` requires the `server` feature, not enabled by default.
- `multipart` and `websocket` features no longer enabled by default.
- The `warp::test` helpers require a `test` feature, not enabled by default.
This upgrades to hyper v1 from v0.14. That in itself causes some breaking changes. But besides that obvious, some of warp's API was changed to better accommodate the upgrade:
- The `tls` feature has been removed (it could be added again, but this was simpler for now.)
- The `Server` type had many of its methods removed in favor of a few simple ones. If you want to customize the behavior significantly, you are better off creating your own custom accept loop. The main selling point of warp is the `Filter` system, not the `Server` type.
- The `warp::addr` module was disabled (will also affect logs) (and the related `Transport` trait).
Closes#1088
* initial commit, adding a gzip filter
* adding deflate and brotli filters, cleaning up the documentation
* cleaning up the implemenation and the comments
* feature gating compression, adding an example, updating README
* responding to feedback, and making CompressableBody a bit more generic
* move some thing around for visibility reasons
* hide irrelevant docs, add small comment to compression filters, add config to CI to make sure we can build with this feature enabled