#inversion-of-control #dependency-injection #ioc #container

nightly qregister

A simple IoC (Inversion of Control) container

6 releases

Uses old Rust 2015

0.2.2 Sep 30, 2015
0.2.1 Sep 29, 2015
0.1.2 Aug 29, 2015

#20 in #inversion-of-control

CC0 license

21KB
362 lines

qregister

API Documentation

TODO

  • Explore how we can use this for common dependency-injection-patterns?
  • Explore how we can use this in a multithreaded-context.
  • Doc, Examples, Tests

lib.rs:

TODO

  • Clarify terminology (to wire, to load, option, alternative, option).
  • Single alternative options are a special case of options/alternatives. To avoid confusion, all code & doc related to single alternative options should be listed after regular options/alternatives.
  • Panics vs error?
  • remove_option, remove_alternative?

Dependencies

~330KB