From 4c293587bc4dbb9a5ff039342e02432ae83222b6 Mon Sep 17 00:00:00 2001 From: Artem Daugel-Dauge Date: Tue, 21 Sep 2021 22:35:30 +0300 Subject: [PATCH] Improve readme --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c80ce94..4cc4201 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,10 @@ It's a [russian word](https://en.wiktionary.org/wiki/кинжал) for dagger. Y Probably. But we'll see +**What targets are supported?** + +JVM and most of Kotlin/Native targets. Kotlin/JS is not supported for now (see #4). Please file an issue if you don't find a target you need + ## Examples ```kotlin @@ -113,7 +117,7 @@ See more in the [source code](https://github.com/daugeldauge/kinzhal/tree/master | ---------- | --------------- | -----------| | `@Component` | ✅ | | | Constructor injection | ✅ | | -| Field injection | 🚫 | | +| Field injection | 🚫 | #1 | | Component provision functions and properties | ✅ | | | `@Module` | ⚠️ | Kinzhal has modules but does not have `@Module` annotation. All classes in component module list are treated as modules. Only `object` modules with provides=functions and `interface` modules with binds-functions are allowed | | `@Provides` | ⚠️ | Kinzhal does not have `@Provides` annotation. All non-abstract functions in a module are considered to be provides-functions | @@ -121,10 +125,10 @@ See more in the [source code](https://github.com/daugeldauge/kinzhal/tree/master | `@Scope` | ✅ | | | `@Qualifier` | ✅ | | | Component dependencies | ✅ | Dependency instances are passed to generated component's constructor instead of builder functions | -| `@Subcomponent` | 🚫 | You can use component dependency to emulate behaviour of subcomponents | +| `@Subcomponent` | 🚫 | #3
You can use component dependency to emulate behaviour of subcomponents | | `@Reusable` | 🚫 | | | `@BindsInstance` | 🚫 | You can use component dependency to bind instances | -| Lazy/provider injections | 🚫 | | +| Lazy/provider injections | 🚫 | #2 | | `@BindsOptionalOf` | 🚫 | | Multibindings | 🚫 | | | Assisted injection | 🚫 | |