Repository navigation
v0.3.0
Changes
New Features
Warning
Breaking Change: Complete rewrite to support sync and async constructors, resolve by type or trait, and singleton or transient scopes cee6bd2
- Replace async
Servicetrait with syncFromServicesand asyncFromServicesAsync - Add
ServiceBuilderwith singleton/transient scope viawith_type/with_type_transient - Add trait object resolution via
Unsizecoercion behindtraitsfeature (nightly) - Add
asyncfeature forFromServicesAsync,get_async, andget_trait_async - Rewrite
di-macroswith#[derive(FromServices)],#[derive(FromServicesAsync)], and#[di(default)] - Add migration guide, updated README, and
rust-toolchain.toml