pakrym/jab
C# Source Generator based dependency injection container implementation. observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 41
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 2091
- days_rel: n/a
- days_push: 355
- n_releases_24m: 0
Adoption not part of the score
1256 stars · 46 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Jab is a compile-time dependency injection container for C# implemented as a Roslyn source generator. It generates strongly-typed service provider code during compilation, eliminating runtime reflection and providing fast startup and resolution compared to Microsoft.Extensions.DependencyInjection.
Use cases
- fast dependency injection for .NET applications
- AOT-friendly DI container without runtime code generation
- compile-time validation of service registrations
- dependency injection for Unity games
- reduce DI container startup time in serverless or CLI apps
- replace Microsoft.Extensions.DependencyInjection with faster alternative
When to choose
- you need the fastest possible DI container startup and resolution in .NET
- you target AOT or trimming scenarios where reflection-based DI fails
- you want container configuration errors caught at compile time
- you work in Unity or .NET Standard 2.0 environments
- you want zero runtime dependencies in your library
When to avoid
- you rely on IServiceCollection-based runtime registration syntax
- you need dynamic or runtime-configured service registrations
- your team prefers conventional Microsoft.Extensions.DependencyInjection ecosystem
- you need features beyond transient, singleton, scoped, named, factory, and instance registrations
Facets
library · maturity active
compiler developer-tools performance dotnet cross-platform source-generator roslyn dependency-injection-container compile-time-di aot-friendly microsoft-extensions unity-support nuget-package dependency-injection code-generation dotnet
1 source
- readme: https://github.com/pakrym/jab · fetched 2026-08-28 · c6ab5af03ed0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pakrym/jab | main | 51 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem