#component #ioc #system #di #depend

macro shine_component_derive

Implementation of #[derive(Component)] for Shine

1 unstable release

0.1.0 Jun 27, 2020

#46 in #ioc

MIT/Apache

8KB
185 lines

Shine

Shine is a framework for managing lifecycle and dependency of your software components. In some languages, it was called "IoC" and "Dependency Injection". The main usecase of this framework is on medium/large scale web services.

The Shine ecosystem consists of two major concepts: System, Component. A System is a runtime unit that control lifecycles of all Components. A Component is a group of logic. A Component can depends on other Components and it can also have its own internal state.

FAQs

  • Q: Does this handle circular dependency?
  • A: No, it does not currently.

Dependencies

~1.5MB
~34K SLoC