klibs.io
Report an issue
About & FAQ
Klibs.io wordmark
Press / to search + KMP projects
Zac Sweers logo

Zac Sweers

  • https://zacsweers.dev
  • ZacSweers

metro

by ZacSweers

1.1k

Metro is a compile-time dependency injection framework that draws heavy inspiration from Dagger, Anvil, and Kotlin-Inject. It seeks to unify their best features under one, cohesive solution while adding a few new features and implemented as a compiler plugin.

#dependency-injection, #architecture

JVMKotlin/NativeWasmJS

Apache License 2.0

redacted-compiler-plugin

by ZacSweers

430

Generates redacted `toString()` implementations for classes, allowing selective property redaction via a `@Redacted` annotation. Supports custom annotations and replacement strings, enabling flexible redaction configurations.

#compiler-plugin

JVMKotlin/NativeWasmJS

Apache License 2.0

anvil

by ZacSweers

28

Simplifies dependency injection by automatically merging Dagger modules and component interfaces, reducing boilerplate code and improving build efficiency. Supports custom code extensions.

#dependency-injection, #architecture

JVMKotlin/NativeWasmJS

Apache License 2.0