* improve workspace caching
This improves workspace caching performance by using the workspace parameter of rust-cache@v2.
* apply the same technique here as well
* Use version 2 of Cargo's feature resolver
* Increase minimum version of tungstenite
Tungstenite 0.17.1 has a higher MSRV, and there should be no reason to
use it over 0.17.2.
* Clean up and fix MSRV CI job
* Fix some intra-doc links not resolving correctly on docs.rs
* Bump minimum version of tower
… to avoid dependencies with a broken minimum-versions chain.
* Create BytesMut for Json with initial capacity
* Add a comment explaining BytesMut initial capacity
* Update link to serde_json::to_vec function to docs.rs
* example
* `MethodRouter::merge`
* `set_content_length` and `set_allow_header`
* `MethodRouter::on_service_boxed_response_body`
* `Router::route`
* `MethodRouter::merge` again
* `MethodRouter::on_service_boxed_response_body`
* `Router::call_route`
* `MethodRouter::{layer, route_layer}`
* revert example
* fix test
* move function to method on `AllowHeader`
* implement TryFrom<http::Method> for MethodFilter
* test for TryFrom<http::Method> for MethodFilter
* 'UnsupportedMethod' error type for MethodFilter
* Log TryFrom<http::Method> for MethodFilter
* adjust docs
* move docs
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
* Prepare axum-next branch
* Remove deprecated `extractor_middleware` function (#1077)
* Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` (#948)
* Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` (#924)
* Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}`
Fixes https://github.com/tokio-rs/axum/issues/922
* changelog
* fixup changelog
* Panic on overlapping routes in `MethodRouter` (#1102)
* Panic on overlapping routes in `MethodRouter`
* changelog link
* add test to ensure `head` and `get` don't overlap
* Fix changelog
* Prepare axum-next branch
* Remove trailing slash redirects
* changelog link
* Fix changelog
* remove asserting to make make the test more clear
* remove tsr related feature
* Add `RouterExt::route_with_tsr`
* Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
* Update axum-extra/src/routing/mod.rs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
* fix typos in docs
* Update axum/CHANGELOG.md
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
* mention `RouterExt::route_with_tsr` in the changelog
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
* Fix possible panic when doing trailing slash redirect
Fixes https://github.com/tokio-rs/axum/issues/1122
* changelog link
* Update axum/src/routing/mod.rs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>