axum/axum-extra
David Pedersen 50a4be999d
Update matchit and fix nesting inconsistencies (#1086)
* Break `Router::nest` into `nest` and `nest_service` methods

* fix doc tests

* update docs

* fix

* Only accept `Router` in `Resource::{nest, nest_collection}`

* update changelog

* fix docs

* fix `MatchedPath` with `Router`s nested with `nest_service`

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

* adjust docs for fallbacks

* Always nest services as opaque

* fix old docs reference

* more tests for `MatchedPath` with nested handlers

* minor clean up

* use identifier captures in format strings

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

* fix test

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2022-08-11 10:17:08 +00:00
..
src Update matchit and fix nesting inconsistencies (#1086) 2022-08-11 10:17:08 +00:00
test_files Add SpaRouter (#904) 2022-04-03 18:29:37 +02:00
Cargo.toml Document browsers ignoring SSE events without data fields (#1242) (#1214) 2022-08-10 17:14:42 +02:00
CHANGELOG.md Update matchit and fix nesting inconsistencies (#1086) 2022-08-11 10:17:08 +00:00
LICENSE Add axum-extra crate (#536) 2021-11-17 20:00:32 +00:00
README.md Use new Cargo features to avoid implicit features for optional dependencies (#1239) 2022-08-09 18:43:02 +02:00

axum-extra

Build status Crates.io Documentation

Extra utilities for axum.

More information about this crate can be found in the crate documentation.

Safety

This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

Minimum supported Rust version

axum-extra's MSRV is 1.60.

Getting Help

You're also welcome to ask in the Discord channel or open an issue with your question.

Contributing

🎈 Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the axum project.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in axum by you, shall be licensed as MIT, without any additional terms or conditions.