• Home
Name Date Size #Lines LOC

..--

configuration/03-May-2024-406260

examples/03-May-2024-2,234960

extras/03-May-2024-7,1935,441

include/fruit/03-May-2024-15,4979,257

src/03-May-2024-1,081715

test_package/03-May-2024-5639

tests/03-May-2024-15,59612,777

.clang-formatD03-May-2024151 76

.gitignoreD03-May-2024246 1918

.travis.ymlD03-May-202412.4 KiB254249

Android.bpD03-May-20241.3 KiB3934

BUILDD03-May-2024502 2420

CMakeLists.txtD03-May-20246.4 KiB128100

CONTRIBUTING.mdD03-May-202411.3 KiB251187

COPYINGD03-May-202411.1 KiB203169

LICENSED03-May-202411.1 KiB203169

METADATAD03-May-2024839 2019

MODULE_LICENSE_APACHE2D03-May-20240

NOTICED03-May-202411.1 KiB203169

OWNERSD03-May-202415 21

README.mdD03-May-20241.3 KiB128

appveyor.ymlD03-May-20243.4 KiB6361

conanfile.pyD03-May-20243.1 KiB7562

README.md

1
2[![Build Status](https://img.shields.io/travis/google/fruit/master.svg?label=Linux/OSX%20build/tests)](https://travis-ci.org/google/fruit)
3[![Build status](https://img.shields.io/appveyor/ci/poletti-marco/fruit/master.svg?label=Windows%20build/tests)](https://ci.appveyor.com/project/poletti-marco/fruit)
4[![Coverity Scan Status](https://img.shields.io/coverity/scan/8486.svg?label=Coverity%20scan)](https://scan.coverity.com/projects/google-fruit)
5[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1040/badge)](https://bestpractices.coreinfrastructure.org/projects/1040)
6
7Fruit is a [dependency injection](http://en.wikipedia.org/wiki/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.
8It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components.
9From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.
10
11See the [wiki](https://github.com/google/fruit/wiki) for more information, including installation instructions, tutorials and reference documentation.
12