fruit
brew install fruit
v3.7.1
Apache-2.0
Dependency injection framework for C++
1
30-day installs · #15881
3
90-day · #17858
44
365-day · #11414
1.9k
★ GitHub stars · updated 4mo ago
Build dependencies
Links
- https://github.com/google/fruit/wiki
- GitHub: google/fruit
- Brew formula source: Formula/f/fruit.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"cmake"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Dependency injection framework for C++",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:51+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "fruit",
"github_default_branch": "master",
"github_last_commit_at": "2026-04-12T00:10:50Z",
"github_readme_excerpt": "\n[](https://github.com/google/fruit/actions/workflows/test-on-linux.yml)\n[](https://github.com/google/fruit/actions/workflows/test-on-windows.yml)\n[](https://github.com/google/fruit/actions/workflows/test-on-osx.yml)\n[](https://scan.coverity.com/projects/google-fruit)\n[](https://bestpractices.coreinfrastructure.org/projects/1040)\n\nFruit 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.\nIt allows to split the implementation code in \"components\" (aka modules) that can be assembled to form other components.\nFrom a component with no requirements it\u0027s then possible to create an injector, that provides an instance of the interfaces exposed by the component.\n\nSee the [wiki](https://github.com/google/fruit/wiki) for more information, including installation instructions, tutorials and reference documentation.\n",
"github_repo": "google/fruit",
"github_stars": 1885,
"github_topics": [],
"homepage": "https://github.com/google/fruit/wiki",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 1,
"installs_365d": 44,
"installs_90d": 3,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "fruit",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 15881,
"rank_365d": 11414,
"rank_90d": 17858,
"raw_hash": "2c583b66b5d76ff9",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/f/fruit.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "3.7.1",
"versioned_formulae": [],
"why_use_this": null
}