Closed tottoto closed 5 months ago
Some features do not seem to use http-body crate, and some of them also not using http-body-util crate as the dependencies.
http-body
http-body-util
Makes http-body and http-body-util dependencies optional.
This is a breaking change as this disables body module conditionally,
body
Thanks for the PR! Can you add a # Unreleased section to tower-http/CHANGELOG.md and describe the changes (esp. the breaking one) there?
# Unreleased
tower-http/CHANGELOG.md
Added the changelog.
Motivation
Some features do not seem to use
http-body
crate, and some of them also not usinghttp-body-util
crate as the dependencies.Solution
Makes
http-body
andhttp-body-util
dependencies optional.This is a breaking change as this disables
body
module conditionally,