Ross ROSS = Recommend OSS · open-source software intelligence for agents

google/fruit

Fruit, a dependency injection framework for C++ observed · 2026-08-28

github.com/google/fruit · homepage · C++ · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

57/100

  • Activity 76
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4461
  • days_rel: n/a
  • days_push: 144
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1887 stars · 203 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Fruit is a dependency injection framework for C++, loosely inspired by Java's Guice. It uses C++11 metaprogramming to catch most injection errors at compile time and organizes code into composable components from which injectors create instances.

Use cases

  • dependency injection in C++ projects
  • bind interfaces to implementations at compile time
  • split C++ code into composable modules/components
  • catch missing bindings and dependency loops before runtime
  • assisted injection and factory auto-registration in C++
  • low-overhead DI for performance-sensitive C++ applications

When to choose

  • you want Guice-style DI in C++ with errors caught at compile time
  • you need modular component assembly with minimal runtime overhead
  • you want a mature, Google-backed DI framework with cross-platform CI

When to avoid

  • your project targets pre-C++11 compilers
  • you prefer runtime-configured DI or reflection-based containers
  • you need DI for languages other than C++

Facets

framework · maturity stable

developer-tools middleware developer-tools cross-platform cpp windows cross-platform dependency-injection compile-time-checks guice-inspired cpp11 metaprogramming linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
google/fruitmain57

For agents

markdown · JSON · MCP: product_card(name="google/fruit")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem