• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

cmake-modules/23-Nov-2023-2521

configuration/23-Nov-2023-579439

examples/23-Nov-2023-2,243968

extras/23-Nov-2023-8,4496,573

include/fruit/23-Nov-2023-15,5359,290

src/23-Nov-2023-1,064706

test_package/23-Nov-2023-5639

tests/23-Nov-2023-15,75412,884

.clang-formatD23-Nov-2023151 76

.gitattributesD23-Nov-202331 21

.gitignoreD23-Nov-2023331 2221

.travis.ymlD23-Nov-202317.3 KiB330325

Android.bpD23-Nov-20232 KiB6760

BUILDD23-Nov-2023619 2824

CMakeLists.txtD23-Nov-20237 KiB149117

CONTRIBUTING.mdD23-Nov-202310.5 KiB238173

COPYINGD23-Nov-202311.1 KiB203169

LICENSED23-Nov-202311.1 KiB203169

METADATAD23-Nov-2023839 2019

MODULE_LICENSE_APACHE2D23-Nov-20230

OWNERSD23-Nov-202330 32

README.mdD23-Nov-20231.3 KiB128

appveyor.ymlD23-Nov-20233.9 KiB6866

conanfile.pyD23-Nov-20232.9 KiB7461

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