From aa548ded39c7ba1927019c748c359523b21d59e8 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 29 Oct 2022 14:38:51 +0200 Subject: refactor!: add dependency history type BREAKING CHANGE: Binding builders & configurators now take dependency history type arguments, the DetectedCircular variant of InjectableError now contains a dependency history field & the injectable traits take dependency history instead of a Vec --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index cd21b22..09ccb46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,10 @@ required-features = ["async", "factory"] name = "async-factory" required-features = ["async", "factory"] +[[example]] +name = "prevent-circular" +required-features = ["prevent-circular"] + [dependencies] syrette_macros = { path = "./macros", version = "0.4.0" } linkme = "0.3.0" -- cgit v1.2.3-18-g5258