dill 0.1.0

Runtime depenency injection library.
Documentation

build

TODO

  • value by reference in new()
    • Send + Sync plague
  • scopes
    • invocation
    • thread
    • task
  • thread safety
  • catalog cloning
    • dynamic values
  • lazy values
  • externally defined types
  • custom builders
  • error handling
  • doctests
  • by value (cloneable?) injection
  • metadata + filtering
  • improve catalog fluent interface (or macro?)
  • proc macro error handling
  • build a type without registering

Done

  • multiple implementations per interface
  • implementation-controlled sharing and lifetime
  • dependency specs
    • OneOf
    • AllOf
  • scopes
    • transient V
    • singleton V
  • auto builders
    • support scope in derivation
  • support prebuilt / add by value
  • support Impl::new()
  • argument bindings

Principles

  • Nothing framework-specific