Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
cmake-modules/ | 03-May-2024 | - | 25 | 21 | ||
configuration/ | 03-May-2024 | - | 579 | 439 | ||
examples/ | 03-May-2024 | - | 2,243 | 968 | ||
extras/ | 03-May-2024 | - | 8,449 | 6,573 | ||
include/fruit/ | 03-May-2024 | - | 15,535 | 9,290 | ||
src/ | 03-May-2024 | - | 1,064 | 706 | ||
test_package/ | 03-May-2024 | - | 56 | 39 | ||
tests/ | 03-May-2024 | - | 15,754 | 12,884 | ||
.clang-format | D | 03-May-2024 | 151 | 7 | 6 | |
.gitattributes | D | 03-May-2024 | 31 | 2 | 1 | |
.gitignore | D | 03-May-2024 | 331 | 22 | 21 | |
.travis.yml | D | 03-May-2024 | 17.3 KiB | 330 | 325 | |
Android.bp | D | 03-May-2024 | 2 KiB | 67 | 60 | |
BUILD | D | 03-May-2024 | 619 | 28 | 24 | |
CMakeLists.txt | D | 03-May-2024 | 7 KiB | 149 | 117 | |
CONTRIBUTING.md | D | 03-May-2024 | 10.5 KiB | 238 | 173 | |
COPYING | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
LICENSE | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
METADATA | D | 03-May-2024 | 839 | 20 | 19 | |
MODULE_LICENSE_APACHE2 | D | 03-May-2024 | 0 | |||
OWNERS | D | 03-May-2024 | 30 | 3 | 2 | |
README.md | D | 03-May-2024 | 1.3 KiB | 12 | 8 | |
appveyor.yml | D | 03-May-2024 | 3.9 KiB | 68 | 66 | |
conanfile.py | D | 03-May-2024 | 2.9 KiB | 74 | 61 |
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