Async dependency injection for Rust [WIP]
```rust
trait TestTrait: Injectable
struct TestStruct { value: usize, }
impl TestTrait for TestStruct { fn value(&self) -> usize { self.value } }
impl Injectable for TestStruct { type Error = Infallible;
async fn create(_: Injector) -> Result
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
Ok(TestStruct {
value: COUNTER.fetch_add(1, Ordering::SeqCst),
})
} }
async fn main() { let injector = Injector::new();
injector.bind::
let instance = injector.get::