Fruit
byGoogle
Fruit, a dependency injection framework for C++
Dependency ManagementBuild & Package ManagersOpen Source
About
Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some C++11 features to detect most injection problems at compile-time. It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components. From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.
Open Source Health
- Stars
- 1,885
- Forks
- 202
- License
- Apache-2.0
- Last commit
- 6 months ago
C++
Alternatives to Fruit
Yarnby YarnpkgThe 1.x line is frozen - features and bugfixes now happen on
Gradle Dependency Graph Generator Pluginby Niklas BaudyGradle plugin that generates dependency graphs from your project.
Swift Package Managerby The Swift Programming LanguageThe Package Manager for the Swift Programming Language
Better Allby ShudingBetter Promise.all with automatic dependency optimization
Toothpickby Stéphane NicolasA scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.
Resources & Links
Related Categories
Using Fruit?
Track its cost next to the rest of your stack and get a reminder before it renews.
Add to my stackVendor
Organize the world's information and make it universally accessible.
