pakrym/jab
Some data may be outdated — see provenance labels.
C# Source Generator based dependency injection container implementation. observed · 2026-09-24
Health v2 · maintenance only
47/100
- Activity 33
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2139
- days_rel: n/a
- days_push: 403
- n_releases_24m: 0
Adoption not part of the score
1253 stars · 47 forks observed · 2026-09-24
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-09-24 · c6ab5af03ed0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pakrym/jab | main | 47 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem