Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.
Apache License 2.0
636 stars 24 forks source link

Separate decoders/fetchers into their own modules #96

Closed luca992 closed 7 months ago

luca992 commented 7 months ago

Implement #51

kamel-image now is bare bones and only includes kamel-core. Allows someone to add mappers, fetchers, and decoders granularly as dependencies and add them to their own KamelConfig. kamel-image does not include any ktor engine allowing people to choose their own as well. kamel-image-default includes all packages besides kamel-decoder-svg-batik, it also includes a ktor engine for each target allowing people to use it out of the box without adding ktor engines to their own project

Published packages:

    "kamel-core",
    "kamel-image",
    "kamel-image-default",
    "kamel-decoder-image-bitmap",
    "kamel-decoder-image-vector",
    "kamel-decoder-svg-batik",
    "kamel-decoder-svg-std",
    "kamel-fetcher-resources-jvm",
    "kamel-fetcher-resources-android",
    "kamel-mapper-resources-id-android"