Nikolay Kim
57981ca04a
update tests to async handlers
2019-11-22 11:49:35 +06:00
Nikolay Kim
8683ba8bb0
rename .to_async() to .to()
2019-11-21 21:36:35 +06:00
Nikolay Kim
0de101bc4d
update actix-web-codegen tests
2019-11-21 16:02:17 +06:00
Nikolay Kim
1ca9d87f0a
prep actix-web-codegen release
2019-10-14 21:35:53 +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
Marat Safin
cb19ebfe0c
add rustls support for actix-http and awc ( #998 )
...
* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt
2019-07-31 13:02:56 -07:00
Nikolay Kim
4092c7f326
clippy warnings
2019-07-17 15:08:30 +06:00
Nikolay Kim
686e5f1595
update deps
2019-06-16 22:10:22 +06:00
Nikolay Kim
a548b69679
fmt
2019-06-05 08:43:13 +06:00
Nikolay Kim
a771540b16
prepare actix-web-codegen release
2019-06-04 22:33:43 +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
Nikolay Kim
29a0fe76d5
prepare actix-web-codegen release
2019-06-01 17:21:22 +06:00
Igor Gnatenko
7753b9da6d
web-codegen: Add extra-traits to syn features ( #879 )
...
```rust
error[E0277]: `syn::attr::NestedMeta` doesn't implement `std::fmt::Debug`
--> src/route.rs:149:57
|
149 | attr => panic!("Unknown attribute{:?}", attr),
| ^^^^ `syn::attr::NestedMeta` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `syn::attr::NestedMeta`
= note: required because of the requirements on the impl of `std::fmt::Debug` for `&syn::attr::NestedMeta`
= note: required by `std::fmt::Debug::fmt`
```
2019-06-01 14:13:45 +06:00
Nikolay Kim
cbe0226177
update changes
2019-05-18 10:47:08 -07:00
Nikolay Kim
e1ff3bf8fa
fix resource match with params #841
2019-05-15 10:31:40 -07:00
Glade Miller
80f4ef9aac
When using codegen with paths that have parameters then only the first endpoint resolves ( #842 )
2019-05-15 09:21:07 -07:00
Nikolay Kim
5a90e33bcc
update deps
2019-05-12 12:01:24 -07:00
Nikolay Kim
e9cbcbaf03
update dependencies
2019-05-12 10:18:02 -07:00
Nikolay Kim
337c2febe3
add more tests
2019-05-02 09:49:10 -07:00
Nikolay Kim
7e480ab2f7
beta.1 release
2019-04-20 21:16:51 -07:00
Nikolay Kim
c943e95812
update dependencies
2019-04-16 11:17:29 -07:00
Nikolay Kim
09cdf1e302
Rename RouterConfig to ServiceConfig
2019-04-15 07:32:49 -07:00
Nikolay Kim
d7040dc303
alpha.6 release
2019-04-14 08:09:32 -07:00
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
1f2b15397d
prepare alpha5 release
2019-04-12 14:00:45 -07:00
Nikolay Kim
9bb40c249f
add h1::SendResponse future; renamed to MessageBody::size
2019-04-10 12:24:17 -07:00
Douman
046b7a1425
Expand codegen to allow specify guards and async
2019-04-10 15:43:18 +03:00
Nikolay Kim
a20b9fd354
prepare aplha2 release
2019-03-29 22:06:14 -07:00
Nikolay Kim
d846328f36
fork cookie crate
2019-03-29 21:13:39 -07:00
Nikolay Kim
a2c9ff3a33
back to development
2019-03-28 14:10:03 -07:00
Nikolay Kim
9c198a0d29
alpha.1 release
2019-03-28 13:46:26 -07:00
Nikolay Kim
9451ba71f4
update cargo files
2019-03-26 12:50:51 -07:00
Max Frai
254b61e800
Fix copy/paste mistake in error message ( #733 )
2019-03-26 09:07:19 -07:00
Nikolay Kim
88152740c6
move macros tests to codegen crate
2019-03-17 20:20:10 -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
b211966c28
Payload extractor
2019-03-07 13:33:40 -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