From cc48563f774423fe591911fed413cf3db4ba326e Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 16 Aug 2023 18:32:20 +0200 Subject: chore!: remove the factory macro async flag BREAKING CHANGE: The factory macro's async flag has been removed --- examples/async-factory/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/async-factory') diff --git a/examples/async-factory/main.rs b/examples/async-factory/main.rs index d368a32..3335700 100644 --- a/examples/async-factory/main.rs +++ b/examples/async-factory/main.rs @@ -16,7 +16,7 @@ trait IFoo: Send + Sync fn bar(&self); } -#[factory(async = true)] +#[factory] type IFooFactory = dyn Fn(i32) -> BoxFuture<'static, TransientPtr> + Send + Sync; -- cgit v1.2.3-18-g5258