Rob Ede
3819767fa0
test: fix trybuild tests
2024-02-13 02:14:03 +00:00
Rob Ede
76f6106f8f
fix: wrap attribute codegen regression when using expression ( #3119 )
2023-08-29 21:27:36 +01:00
Rob Ede
d22c9f9fb1
update syn to 2 in web codegen ( #3081 )
2023-07-20 10:49:01 +01:00
Rob Ede
241da6e081
update MSRV to 1.65 ( #3059 )
2023-07-02 01:09:15 +01:00
Rob Ede
359d5d5c80
refactor codegen route guards
2023-02-06 17:06:47 +00:00
edgerunnergit
65c0545a7a
added support for creating custom methods with route macro ( #2969 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
Closes https://github.com/actix/actix-web/issues/2893
2023-02-06 12:40:41 +00:00
Rob Ede
679f61cf37
bump msrv to 1.59
2022-08-27 13:14:16 +01:00
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
Yuki Okushi
6b7196225e
Bump up MSRV to 1.57 ( #2789 )
2022-06-22 12:08:06 +01:00
Rob Ede
a87e01f0d1
bump msrv to 1.54
2021-12-29 08:59:15 +00:00
Rob Ede
591abc37c3
add test runtime macro ( #2409 )
2021-10-19 17:30:32 +01:00
Rob Ede
6b3ea4fc61
copy original route macro input with compile errors ( #2410 )
2021-10-14 18:06:31 +01:00
Aravinth Manivannan
168b2f227d
compile time validation of path ( #2350 )
...
* compile time validation of path
* added trybuild err message
* Update Cargo.toml
* add changelog entry
* test more cases of path validation
* fmt
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-30 21:50:40 +01:00
Rob Ede
c54a0713de
migrate integration testing to new crate ( #2112 )
2021-04-02 08:26:59 +01:00
Erik Johnston
42711c23d7
Port over doc comments in route macros. ( #2022 )
...
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-02-24 12:26:56 +00:00
Rob Ede
2a2a20c3e7
bump msrv to 1.46 ( #1858 )
2020-12-28 00:44:15 +00:00
Rob Ede
c53e9468bc
prepare codegen 0.4.0 release ( #1702 )
2020-09-24 23:54:01 +01:00
Arniu Tseng
162121bf8d
Unify route macros ( #1705 )
2020-09-22 22:42:51 +01:00
Matt Gathu
509b2e6eec
Provide attribute macro for multiple HTTP methods ( #1674 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-16 22:37:41 +01:00
Rob Ede
3fde3be3d8
add trybuild tests to routing codegen ( #1677 )
2020-09-13 16:31:08 +01:00