Rob Ede
c959916346
fmt codegen
2022-01-20 01:54:57 +00:00
Rob Ede
f227e880d7
refactor route codegen to be cleaner
2022-01-20 01:53:02 +00:00
Rob Ede
f2e736719a
add url_for test for conflicting named resources
2022-01-20 01:30:33 +00:00
Rob Ede
07f2fe385b
standardize crate level lints
2021-12-08 06:09:56 +00:00
Rob Ede
2a72bdae09
improve typed header macro ( #2481 )
2021-12-02 15:25:39 +00:00
Rob Ede
591abc37c3
add test runtime macro ( #2409 )
2021-10-19 17:30:32 +01:00
Ibraheem Ahmed
e46cda5228
Deduplicate rt::main macro logic ( #2255 )
2021-06-08 22:44:56 +01:00
Rob Ede
3188ef5731
don't use rust annotation on code doc blocks
2021-03-25 08:45:52 +00:00
Richard Chien
fc6f974617
Add "name" attribute to route macro ( #1934 )
2021-03-04 12:38:47 +00:00
Rob Ede
bd26083f33
prepare codegen 0.5.0-beta.1 release
2021-02-10 12:45:46 +00:00
Rob Ede
a290e58982
prepare beta 2 release set ( #1975 )
2021-02-10 12:10:03 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. ( #1905 )
2021-02-07 01:00:40 +00:00
Aravinth Manivannan
fabc68659b
Intradoc links conversion ( #1827 )
...
* switching to nightly for intra-doc links
* actix-files intra-doc conversion
* more specific Result
* intradoc conversion complete
* rm blank comments and readme doc link fixes
* macros and broken links
2020-12-13 13:28:39 +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
Rob Ede
a70e599ff5
re-export rt in web and add main macro ( #1575 )
2020-06-22 20:09:48 +01:00
Yuki Okushi
24372467d9
codegen: Minimize futures
dependencies
2020-05-19 08:29:11 +09:00
Quentin de Quelen
9164ed1f0c
add resource middleware on actix-web-codegen ( #1467 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-07 18:31:12 +09:00
Ivan Tham
2067331884
Refactor actix-codegen duplicate code ( #1423 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-20 04:40:42 +09:00
Oleg Nosov
c67e4c1fe8
Refactored macros ( #1333 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-03-15 07:23:28 +09:00
Nikolay Kim
0de101bc4d
update actix-web-codegen tests
2019-11-21 16:02:17 +06:00
DanSnow
967f965405
Update syn
& quote
to 1.0 ( #1133 )
...
* chore(actix-web-codegen): Upgrade syn and quote to 1.0
* feat(actix-web-codegen): Generate better error message
* doc(actix-web-codegen): Update CHANGES.md
* fix: Build with stable rust
2019-10-14 21:34:17 +06:00
Nikolay Kim
a548b69679
fmt
2019-06-05 08:43:13 +06:00
Glade Miller
cf217d35a8
Added HEAD, CONNECT, OPTIONS and TRACE to the codegen ( #886 )
...
* Added HEAD, CONNECT, OPTIONS and TRACE to the codegen
* Add new macros to use statement
* Add patch to supported codegen http methods
* Update CHANGES.md
Added head, options, trace, connect and patch codegen changes to CHANGES.md
2019-06-04 22:30:43 +06:00
Douman
046b7a1425
Expand codegen to allow specify guards and async
2019-04-10 15:43:18 +03:00
Max Frai
254b61e800
Fix copy/paste mistake in error message ( #733 )
2019-03-26 09:07:19 -07:00
Nikolay Kim
54678308d0
propogate app config with http request; add tests for url_for
2019-03-09 14:06:24 -08:00
Nikolay Kim
ceb6d45bf2
reexpost extractors in web module
2019-03-07 11:43:46 -08:00
Nikolay Kim
22708e78a9
added proc-macros for route registration
2019-03-07 11:09:42 -08:00