Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
daugeldauge committed Sep 21, 2021
1 parent 6e1c87b commit 4c29358
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -113,18 +117,18 @@ 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 |
| `@Binds` | ⚠️ | Kinzhal does not have `@Binds` annotation. All abstract functions in a module are considered to be binds-functions |
| `@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 <br> 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 | 🚫 | |
Expand Down

0 comments on commit 4c29358

Please sign in to comment.