Skip to content

Commit

Permalink
Improve build times by generating less IR (#1192)
Browse files Browse the repository at this point in the history
* 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`
  • Loading branch information
davidpdrsn committed Jul 25, 2022
1 parent 592dc5f commit 5e2c782
Show file tree
Hide file tree
Showing 4 changed files with 236 additions and 229 deletions.
12 changes: 0 additions & 12 deletions axum/CHANGELOG.md
Expand Up @@ -34,18 +34,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`NoMatchingMethodFilter` error in case of failure ([#1130])
- **added:** Document how to run extractors from middleware ([#1140])

=======
`axum-macros`
- **added:** Support any middleware response that implements `IntoResponse` ([#1152])
- **breaking:** Require middleware added with `Handler::layer` to have
`Infallible` as the error type ([#1152])

[#1171]: https://github.com/tokio-rs/axum/pull/1171
[#1077]: https://github.com/tokio-rs/axum/pull/1077
[#1088]: https://github.com/tokio-rs/axum/pull/1088
[#1102]: https://github.com/tokio-rs/axum/pull/1102
[#1119]: https://github.com/tokio-rs/axum/pull/1119
>>>>>>> 73041c8 (Avoid exposure of type names by QueryRejection (#1171))
[#1130]: https://github.com/tokio-rs/axum/pull/1130
[#1140]: https://github.com/tokio-rs/axum/pull/1140

Expand Down

0 comments on commit 5e2c782

Please sign in to comment.