Files
axum/axum-debug/CHANGELOG.md
T
David Pedersen 27e848fbe8 Fix #[debug_handler] for multiple extractors (#552)
* Fix `#[debug_handler]` for multiple extractors

It generated a function for each extractor to check the type but those
functions didn't have unique names.

Fixed by including all idents in the `arg: Extractor` token tree in the
name of the function generated. Not sure there is a simpler way to fix
it.

* just use a counter

* don't need visit feature anymore
2021-11-22 10:28:43 +01:00

771 B

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

  • Fix regression causing errors when #[debug_handler] was used on functions with multiple extractors.

0.2.1 (19. October 2021)

  • Make macro handle more cases such as mutable extractors and handlers taking self (#518)

0.2.0 (13. October 2021)

  • breaking: Removed debug_router macro.
  • breaking: Removed check_service function.
  • breaking: Removed debug_service function.

0.1.0 (6. October 2021)

  • Initial release.