injectable-rs 0.1.0

A compile-time dependency injection framework for Rust using extractor-based DI
Documentation
1
2
3
4
5
error: #[injectable] without #[injectable(ctor)] requires at least one #[injectable(post_construct)] or #[injectable(pre_destruct)] method. For field injection without lifecycle hooks, use #[injectable] alone.
  --> tests/ui/missing_constructor.rs:13:6
   |
13 | impl MyService {
   |      ^^^^^^^^^