Upgrading warp 0.3 to 0.4
Breaking0.3.7 → 0.4.3Breaking6New4Changed1Fixed3Other1
BreakingUpgrade verdict
6 breaking changes.
In plain terms
- Multipart and WebSocket support are no longer on unless you explicitly turn them on.
- To use the built-in server you must now enable the server feature.
- TLS support and its related types are gone from the crate.
- The address filters are no longer available.
Must act Top 3 of 6 that need code or config changes
What you must change
Breaking6
Removes the multipart and websocket features from being enabled by default.
multipartwebsocketMoves warp::serve() behind a server feature that is not enabled by default.
warp::serve()serverRemoves the tls feature and its types.
tlsRemoves the warp::addr filters.
warp::addrUpgrades hyper, http, and http-body dependencies to v1.
hyperhttphttp-bodyMoves warp::test behind a test feature that is not enabled by default.
warp::testtest