Commit Graph

89 Commits

Author SHA1 Message Date
Erik Johnston cb1a712296 Port over doc comments in route macros.
This allows documentation on the functions to appear in the generated
docs, e.g.:

```rust
/// The index page
async fn index() -> &'static str {
    "Hello!"
}
```
2021-02-23 23:10:16 +00:00
Rob Ede 31d9ed81c5
change rustfmt line width to 96 2021-02-11 23:03:17 +00:00
Rob Ede e18464b274
bump actix web versions in deps 2021-02-10 12:57:13 +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
fakeshadow 20cf0094e5
fix master branch build. change web::block output type. (#1957) 2021-02-06 16:23:59 +00:00
fakeshadow fe392abeb4
remove actix-threadpool.use actix_rt::task::spawn_blocking (#1878) 2021-01-09 16:04:19 +00:00
Rob Ede c09186a2c0
prepare v4 beta releases (#1881) 2021-01-07 20:02:08 +00:00
fakeshadow 32de9f8840
Tokio 1.0 (#1813)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Rob Ede a1b00b2cd0
change unreleased year 2021-01-02 00:12:18 +00:00
Rob Ede 2a2a20c3e7
bump msrv to 1.46 (#1858) 2020-12-28 00:44:15 +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
Yuki Okushi 2f84914146
Skip some tests that cause ICE on nightly (#1740) 2020-10-19 11:52:05 +09:00
Rob Ede aa11231ee5
prepare web release 3.1.0 (#1716) 2020-09-30 11:07:35 +01: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 64a2c13cdf
the big three point oh (#1668) 2020-09-11 13:50:10 +01:00
Rob Ede 059d1671d7
prepare release beta 4 (#1659) 2020-09-09 22:14:11 +01:00
Yuki Okushi 5802eb797f
awc,web: Bump up to next beta releases (#1638) 2020-08-18 01:08:40 +09:00
Yuki Okushi 59ad1738e9
web: Bump up to 3.0.0-beta.2 (#1636) 2020-08-17 11:32:38 +01:00
Yuki Okushi 92b5bcd13f
Check format and tweak CI config (#1619) 2020-07-22 00:28:33 +01:00
Rob Ede ad7c6d2633
prepare actix-web v3.0.0-beta.1 release (#1600) 2020-07-15 00:44:44 +01:00
Yuki Okushi 1382094c15
Avoid using deprecated `/` in license field 2020-07-14 11:19:56 +09:00
Rob Ede a70e599ff5
re-export rt in web and add main macro (#1575) 2020-06-22 20:09:48 +01:00
Yuki Okushi 8a106c07b4
Tweak codegen metadata 2020-05-25 16:45:34 +09:00
Yuki Okushi bb89d04080
codegen: Bump up to 0.2.2 2020-05-23 17:22:30 +09:00
Yuki Okushi fe89ba7027
Update `actix-web` dependency to 3.0.0-alpha.3 2020-05-21 17:32:36 +09:00
Yuki Okushi 24372467d9
codegen: Minimize `futures` dependencies 2020-05-19 08:29:11 +09:00
Rob Ede 996f1d7eae
bump msrv in ci and readme 2020-05-13 01:57:37 +01:00
Yuki Okushi b66c3083a5
Update the `actix-web` dependency to 3.0.0-alpha.2 2020-05-08 06:46:42 +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
Yuki Okushi 1b28a5d48b
Update `actix-web` dependency to 3.0.0-alpha.1 2020-03-12 03:03:50 +09:00
Yuki Okushi a4f87a53da
Update CHANGES.md 2020-02-25 08:42:39 +09:00
Yuki Okushi 036ffd43f9 Prepare for new release 2020-02-23 06:40:02 +09:00
Matt Gathu 060c392c67
Add missing_docs attribute to generated structs 2020-02-22 10:32:12 +01:00
Andrey Torsunov 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
Nikolay Kim 8b8a9a995d bump ver 2019-12-20 17:36:48 +06:00
Nikolay Kim 232f71b3b5 update changes 2019-12-13 12:18:30 +06:00
Nikolay Kim 4937c9f9c2 refactor http-test server 2019-12-12 23:08:38 +06:00
Nikolay Kim 4a8a9ef405 update tests and clippy warnings 2019-12-08 12:31:16 +06:00
Nikolay Kim 14075ebf7f use released versions of actix-net 2019-12-02 23:33:39 +06:00
Nikolay Kim f4c01384ec update to latest actix-net 2019-12-02 17:33:11 +06:00
Folyd f43a706364 Set name for each generated resource 2019-11-26 19:25:28 +06:00
Nikolay Kim 4dc31aac93 use actix_rt::test for test setup 2019-11-26 11:25:50 +06:00
Nikolay Kim c1c44a7dd6 upgrade derive_more 2019-11-25 17:59:14 +06:00