Commit Graph
8 Commits
Author SHA1 Message Date
david-perez f95c974406 Remove dependency on tower-http's add-extension feature (#580)
It is not currently being used, since `axum/src/add_extension.rs` "is
vendored from `tower-http` to reduce public dependencies".
2021-11-30 14:22:50 +01:00
david-perez 0c3e4a6f3d Reduce NotFound's visibility (#579)
It is only used in the crate's `routing` module.
2021-11-30 12:37:51 +00:00
david-perez affab9b4ec Use Self in RouterFuture's impl block (#578)
For consistency with the other method and the rest of the codebase.
2021-11-30 12:37:05 +00:00
david-perez 3cf8ee3b5e Drop Sync requirement on the handler function (#522)
Since it doesn't need to be called from different threads at the same
time.
2021-11-16 15:00:56 +01:00
david-perez a47d7eca40 Derive Debug for Router instead of implementing manually (#463) 2021-11-04 12:35:50 +01:00
david-perez 071a1b26e6 Fix typos (#461) 2021-11-03 19:03:46 +00:00
david-perez be62f49b7e Fix typo in sealed trait used in Handler (#430) 2021-10-28 16:44:04 +00:00
david-perez 21e5b654ab Fix NotFound docs (#431) 2021-10-28 16:41:52 +00:00