Name Date Size #Lines LOC

..--

.github/workflows/H25-Apr-2025-346330

cmake-modules/H25-Apr-2025-2521

configuration/H25-Apr-2025-600458

examples/H25-Apr-2025-2,254977

extras/H25-Apr-2025-8,2736,483

include/fruit/H25-Apr-2025-15,5529,302

src/H25-Apr-2025-1,070710

test_package/H25-Apr-2025-5639

tests/H25-Apr-2025-15,91313,021

.clang-formatH A D25-Apr-2025151 76

.gitattributesH A D25-Apr-202531 21

.gitignoreH A D25-Apr-2025331 2221

Android.bpH A D25-Apr-20252 KiB7063

BUILDH A D25-Apr-2025619 2824

CMakeLists.txtH A D25-Apr-20258.1 KiB169134

CONTRIBUTING.mdH A D25-Apr-202510.1 KiB226164

COPYINGH A D25-Apr-202511.1 KiB203169

LICENSEH A D25-Apr-202511.1 KiB203169

METADATAH A D25-Apr-20251 KiB2119

MODULE_LICENSE_APACHE2HD25-Apr-20250

OWNERSH A D25-Apr-202545 11

README.mdH A D25-Apr-20251.5 KiB139

conanfile.pyH A D25-Apr-20252.9 KiB7461

README.md

1
2[![Test on Linux](https://github.com/google/fruit/actions/workflows/test-on-linux.yml/badge.svg?branch=master)](https://github.com/google/fruit/actions/workflows/test-on-linux.yml)
3[![Test on Windows](https://github.com/google/fruit/actions/workflows/test-on-windows.yml/badge.svg?branch=master)](https://github.com/google/fruit/actions/workflows/test-on-windows.yml)
4[![Test on OS X](https://github.com/google/fruit/actions/workflows/test-on-osx.yml/badge.svg?branch=master)](https://github.com/google/fruit/actions/workflows/test-on-osx.yml)
5[![Coverity Scan Status](https://img.shields.io/coverity/scan/8486.svg?label=Coverity%20scan)](https://scan.coverity.com/projects/google-fruit)
6[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1040/badge)](https://bestpractices.coreinfrastructure.org/projects/1040)
7
8Fruit 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.
9It allows to split the implementation code in "components" (aka modules) that can be assembled to form other components.
10From a component with no requirements it's then possible to create an injector, that provides an instance of the interfaces exposed by the component.
11
12See the [wiki](https://github.com/google/fruit/wiki) for more information, including installation instructions, tutorials and reference documentation.
13