compression: Implement Default for CompressionBody (#323)
compression, decompression: Support zstd (de)compression (#322)
Changed
serve_dir:ServeDir and ServeFile's error types are now Infallible and any IO errors
will be converted into responses. Use try_call to generate error responses manually (BREAKING) (#283)
serve_dir:ServeDir::fallback and ServeDir::not_found_service now requires
the fallback service to use Infallible as its error type (BREAKING) (#283)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tower-http from 0.3.5 to 0.4.0.
Release notes
Sourced from tower-http's releases.
Commits
842cf89
Release 0.4.0 (#332)bc57dee
add missing changelog linkse399df9
update changelog67130ab
Request decompression (#282)f3d8528
ImplDefault
forCompressionBody
when possible (#323)255c28e
Support zstd (de)compression (#322)987f5c9
ServeDir: convert io::ErrorKind::NotADirectory to not_found (#331)a6d0f7b
Prefer encoding: brotli > gzip > deflate (#325)e941dee
Do compress SVGs (#321)b6434e7
Update changelogDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)