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 --- src/di_container/asynchronous/binding/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/di_container/asynchronous/binding') diff --git a/src/di_container/asynchronous/binding/builder.rs b/src/di_container/asynchronous/binding/builder.rs index 306d196..9fa5115 100644 --- a/src/di_container/asynchronous/binding/builder.rs +++ b/src/di_container/asynchronous/binding/builder.rs @@ -238,7 +238,7 @@ where /// # /// # impl Foo for Bar {} /// # - /// # #[factory(async = true)] + /// # #[factory] /// # type FooFactory = dyn Fn(i32, String) -> BoxFuture< /// # 'static, /// # TransientPtr @@ -602,7 +602,7 @@ mod tests use crate::{self as syrette, factory}; #[rustfmt::skip] - #[factory(async = true)] + #[factory] type IUserManagerFactory = dyn Fn(String) -> BoxFuture< 'static, TransientPtr -- cgit v1.2.3-18-g5258