Rob Ede
dbce150993
update syn to v2 ( #481
...
* update syn to v2
* update changelog
2023-04-01 22:21:14 +01:00
Rob Ede
90f205a465
standardize crate level lints
2021-12-08 06:09:46 +00:00
Rob Ede
47f278b17a
fix test macro in presence of other imports named test ( #399 )
2021-10-19 16:13:13 +01:00
Rob Ede
ca77d8d835
split -server and -tls msrv and raise to 1.52 ( #398 )
2021-10-19 14:53:42 +01:00
Rob Ede
4ff8a2cf68
make runtime macros more IDE friendly ( #391 )
2021-10-14 10:54:39 +01:00
Ibraheem Ahmed
3824493fd3
take custom system path in actix_rt::main
macro ( #363 )
2021-06-08 17:33:05 +01:00
Rob Ede
66bd5bf4a2
prepare macros v0.2.0 release ( #261 )
2021-02-02 02:07:58 +00:00
Rob Ede
b75254403a
remove builder and introduce worker handle ( #257 )
2021-01-31 03:34:07 +00:00
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