auto-di-macros
Procedural macro implementation for
auto-di.
Applications should depend on auto-di, not this crate directly. The runtime
crate re-exports the supported macros:
#[singleton]#[provider]#[injectable]with field-level#[inject(...)]#[injected]with parameter-level#[inject]; use#[injected(fallible)]to return resolution errors to the caller#[qualifier(...)]#[configuration]#[configuration_properties(...)]#[application]
Macro expansion supports renamed Cargo dependencies through proc-macro-crate
and emits compile-time diagnostics for invalid constructors, unsupported
injection types, and direct provider-to-provider method calls.