From f59ff8239517d8ef29b87c2f982e1782d6912703 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Mon, 18 May 2020 15:36:23 +0900 Subject: [PATCH] macros: Bump up to 0.1.2 --- actix-macros/CHANGES.md | 9 +++++++++ actix-macros/Cargo.toml | 4 ++-- actix-macros/tests/trybuild/main-02-only-async.rs | 2 +- actix-macros/tests/trybuild/main-02-only-async.stderr | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 actix-macros/CHANGES.md diff --git a/actix-macros/CHANGES.md b/actix-macros/CHANGES.md new file mode 100644 index 00000000..7b89882e --- /dev/null +++ b/actix-macros/CHANGES.md @@ -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 diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index 16f35527..a8527673 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-macros" -version = "0.1.1" +version = "0.1.2" authors = ["Nikolay Kim "] 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" diff --git a/actix-macros/tests/trybuild/main-02-only-async.rs b/actix-macros/tests/trybuild/main-02-only-async.rs index 2c60c259..63c1b788 100644 --- a/actix-macros/tests/trybuild/main-02-only-async.rs +++ b/actix-macros/tests/trybuild/main-02-only-async.rs @@ -1,4 +1,4 @@ #[actix_rt::main] fn main() { - futures::future::ready(()).await + futures_util::future::ready(()).await } diff --git a/actix-macros/tests/trybuild/main-02-only-async.stderr b/actix-macros/tests/trybuild/main-02-only-async.stderr index 6f71caef..e5e44492 100644 --- a/actix-macros/tests/trybuild/main-02-only-async.stderr +++ b/actix-macros/tests/trybuild/main-02-only-async.stderr @@ -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`