diff options
author | HampusM <hampus@hampusmat.com> | 2022-09-17 18:33:43 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-09-17 18:33:43 +0200 |
commit | 7de7f73963a266cceff85d6ab71c3256e5d382ec (patch) | |
tree | 67575870945b7ed0a5eeb99ccba79327598b3e02 /examples/async/interfaces | |
parent | 8651f84f205da7a89f2fc7333d1dd8de0d80a22b (diff) |
feat!: allow factories to access async DI container
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function
Diffstat (limited to 'examples/async/interfaces')
-rw-r--r-- | examples/async/interfaces/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/async/interfaces/mod.rs b/examples/async/interfaces/mod.rs index 5444978..ea0a26d 100644 --- a/examples/async/interfaces/mod.rs +++ b/examples/async/interfaces/mod.rs @@ -1,3 +1,4 @@ pub mod cat; pub mod dog; +pub mod food; pub mod human; |