Rob Ede
d4c46b7da9
fix macros code
2021-01-09 14:58:15 +00:00
Rob Ede
f751cf5acb
use convert err on forward_ready! ( #246 )
2021-01-09 14:13:16 +00:00
Rob Ede
4e43216b99
standardise compiler lints across all crates ( #226 )
2020-12-12 23:24:00 +00:00
Yuki Okushi
76d956e25c
macros: Add actix-reexport
feature ( #218 )
2020-12-03 08:59:13 +09:00
Daniel Pintara
e35c261c9f
actix-macros: test: Simplify by using #sig instead of #name(#inputs) #ret
2020-04-22 00:13:32 +07:00
Ruben De Smet
aae52a80ab
Forward actix_rt::test arguments to test function.
...
Previously,
```rust
async fn foo(_a: u32) {}
```
would compile to
```rust
fn foo() {/* something */}
```
This patches changes this behaviour to
```rust
fn foo(_a: u32) {/* something */}
```
by simply forwarding the input arguments.
This allows any test fixture library (e.g. `rstest`, cfr.
https://github.com/la10736/rstest/issues/85 ) to integrate with
actix::test.
2020-04-08 16:48:10 +02:00
Yuki Okushi
d5a6c83207
Suppress/fix clippy warnings
2020-01-29 12:05:55 +09:00
Nikolay Kim
a7ac1a76ed
add license files to actix-macros
2019-12-14 23:01:55 +06:00
daxpedda
0913badd61
Macro improvements. ( #74 )
...
* Macro improvements.
* Fix usage in `fn main`.
2019-12-10 08:47:35 +06:00
Nikolay Kim
4546774f4e
inclide fn ident to err message
2019-11-26 10:04:46 +06:00
Nikolay Kim
2cf140a869
inclide fn token to err message
2019-11-26 10:01:46 +06:00
Nikolay Kim
4ceac79f2c
add test and main macros
2019-11-25 21:49:11 +06:00