boost-ext/di
C++14 Dependency Injection library observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 75
- Release rhythm 40
- Longevity 100
Flags: no_license
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: 0
- age_days: 5336
- days_rel: 518
- days_push: 152
- n_releases_24m: 2
Adoption not part of the score
1270 stars · 150 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-header C++14 dependency injection library with no external dependencies, part of the Boost.Ext ecosystem. It provides an injector-based API for binding interfaces to implementations and constructing object graphs at compile time.
Use cases
- dependency injection in C++ projects
- bind interfaces to implementations in C++
- create object graphs without manual wiring
- make C++ code easier to unit test with loosely coupled design
- header-only DI framework with no dependencies
- reduce boilerplate constructor wiring in C++
When to choose
- you want a lightweight, header-only DI solution in C++14 or later
- you need zero runtime overhead and minimal binary size
- you want to decouple classes for better testability
- you prefer compile-time object graph construction
When to avoid
- your project targets a C++ standard below C++14
- you need runtime-configurable dependency injection
- you prefer a full framework with extensive module system
- you require a formally licensed Boost library (it's Boost.Ext, not official Boost)
Facets
library · maturity stable
developer-tools developer-tools cross-platform cpp cross-platform dependency-injection header-only c++14 design-patterns zero-dependencies
2 sources
- readme: https://github.com/boost-ext/di · fetched 2026-08-28 · f4a3798c1eef
- homepage: https://boost-ext.github.io/di/ · fetched 2026-08-29 · 117836d61eae
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| boost-ext/di | main | 68 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem