060c392c67
Add missing_docs attribute to generated structs
2020-02-22 10:32:12 +01:00
71d11644a7
Add ability to name a handler function as 'config' ( #1290 )
...
* eliminate handler naming restrictions #1277
* Update actix-web-codegen/CHANGES.md
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com >
2020-01-26 07:22:40 +09:00
f43a706364
Set name for each generated resource
2019-11-26 19:25:28 +06:00
8683ba8bb0
rename .to_async() to .to()
2019-11-21 21:36:35 +06:00
0de101bc4d
update actix-web-codegen tests
2019-11-21 16:02:17 +06:00
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
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
a548b69679
fmt
2019-06-05 08:43:13 +06:00
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
09cdf1e302
Rename RouterConfig to ServiceConfig
2019-04-15 07:32:49 -07:00
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
9bb40c249f
add h1::SendResponse future; renamed to MessageBody::size
2019-04-10 12:24:17 -07:00
046b7a1425
Expand codegen to allow specify guards and async
2019-04-10 15:43:18 +03:00
254b61e800
Fix copy/paste mistake in error message ( #733 )
2019-03-26 09:07:19 -07:00
54678308d0
propogate app config with http request; add tests for url_for
2019-03-09 14:06:24 -08:00
b211966c28
Payload extractor
2019-03-07 13:33:40 -08:00
ceb6d45bf2
reexpost extractors in web module
2019-03-07 11:43:46 -08:00
22708e78a9
added proc-macros for route registration
2019-03-07 11:09:42 -08:00