1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-23 01:51:11 +00:00
actix-web/actix-web-codegen
Roland Fredenhagen 8759d79b03
routes macro allowing multiple paths per handler (#2718)
* WIP: basic implementation for `routes` macro

* chore: changelog, docs, tests

* error on missing methods

* Apply suggestions from code review

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>

* update test stderr expectation

* add additional tests

* fix stderr output

* remove useless ResourceType

this is dead code from back when .to and .to_async were different ways to add a service

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-04 04:31:49 +00:00
..
src routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
tests routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
Cargo.toml routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
CHANGES.md routes macro allowing multiple paths per handler (#2718) 2022-07-04 04:31:49 +00:00
LICENSE-APACHE prepare actix-web-codegen release 2019-06-01 17:21:22 +06:00
LICENSE-MIT prepare actix-web-codegen release 2019-06-01 17:21:22 +06:00
README.md Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00

actix-web-codegen

Routing and runtime macros for Actix Web.

crates.io Documentation Version License
dependency status Download Chat on Discord

Documentation & Resources

Compile Testing

Uses the trybuild crate. All compile fail tests should include a stderr file generated by trybuild. See the workflow section of the trybuild docs for info on how to do this.