#container #service #di #set #local #arc #sync

icee-container-rs

Container service for custom DI

3 releases

0.1.2 Jan 2, 2021
0.1.1 Dec 28, 2020
0.1.0 Dec 28, 2020

#2604 in Rust patterns


Used in icee-rabbit-rs

Apache-2.0/MIT

8KB
81 lines

icee-container-rs



Container service for custom DI

  • Global container accessed with ["get", "has", "set"] methods
  • Local typed container storing services under async::sync::Arc

Dependencies

~5–15MB
~190K SLoC