1 unstable release
|0.1.2||Jan 27, 2017|
#98 in Build Utils
Used in hypospray
A lightweight dependency injection library
- Focused, reusable, testable components
- A dependency graph checked at compile time
DI is not for circular dependency resolution: Circular dependency is something that is to be avoided.
$ rustup -V rustup 1.0.0 (17b6d21 2016-12-15) $ rustc -V rustc 1.16.0-nightly (7821a9b99 2017-01-23)
hypospray, add the following to
[dependencies] hypospray = "0.1.0" hypospray_extensions = "0.1.0"
Then, add the following to your crate root:
#![feature(plugin)] #![plugin(hypospray_extensions)] extern crate hypospray; ..
Licensed under either: