1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 16:52:58 +01:00

macros: Bump up to 0.1.2

This commit is contained in:
Yuki Okushi 2020-05-18 15:36:23 +09:00
parent f7cc62564d
commit f59ff82395
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
4 changed files with 13 additions and 4 deletions

9
actix-macros/CHANGES.md Normal file
View File

@ -0,0 +1,9 @@
# CHANGES
## 0.1.2 - 2020-05-18
### Changed
* Forward actix_rt::test arguments to test function [#127]
[#127]: https://github.com/actix/actix-net/pull/127

View File

@ -1,6 +1,6 @@
[package]
name = "actix-macros"
version = "0.1.1"
version = "0.1.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix runtime macros"
repository = "https://github.com/actix/actix-net"
@ -19,5 +19,5 @@ syn = { version = "^1", features = ["full"] }
[dev-dependencies]
actix-rt = "1.0"
futures = "0.3"
futures-util = { version = "0.3", default-features = false }
trybuild = "1"

View File

@ -1,4 +1,4 @@
#[actix_rt::main]
fn main() {
futures::future::ready(()).await
futures_util::future::ready(()).await
}

View File

@ -9,6 +9,6 @@ error[E0601]: `main` function not found in crate `$CRATE`
|
1 | / #[actix_rt::main]
2 | | fn main() {
3 | | futures::future::ready(()).await
3 | | futures_util::future::ready(()).await
4 | | }
| |_^ consider adding a `main` function to `$DIR/tests/trybuild/main-02-only-async.rs`