0
I Use This!
Very Low Activity
Analyzed about 5 hours ago. based on code collected 1 day ago.

Project Summary

Fruit is a dependency injection framework for C++, loosely inspired by the Guice framework for Java. It uses C++ metaprogramming together with some new 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.

See https://github.com/google/fruit/wiki for more information, including installation instructions, tutorials and reference documentation.

Tags

c++ c++11 components dependency dependency-injection dependencyinjection di framework injection inversionofcontrol ioc library linux modularity modules osx testability visualstudio windows

In a Nutshell, fruit...

Apache License 2.0
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Sub-License

Private Use

Use Patent Claims

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

State Changes

Include License

Include Notice

These details are provided for information only. No information here is legal advice and should not be used as such.

Project Security

Vulnerabilities per Version ( last 10 releases )

There are no reported vulnerabilities

Project Vulnerability Report

Security Confidence Index

Poor security track-record
Favorable security track-record

Vulnerability Exposure Index

Many reported vulnerabilities
Few reported vulnerabilities

Did You Know...

  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    anyone with an Open Hub account can update a project's tags
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    search using multiple tags to find exactly what you need
About Project Security

Languages

C++
47%
Python
45%
7 Other
8%

30 Day Summary

Aug 6 2026 — Sep 5 2026

12 Month Summary

Sep 5 2025 — Sep 5 2026
  • 2 Commits
    Down -13 (86%) from previous 12 months
  • 2 Contributors
    Down 0 (0%) from previous 12 months