I'm creating a Kotlin Multiplatform library that interacts with a Restful HTTP API service. The library depends on Ktor and Kotlin Serialization. When importing the library, users also have to import these dependencies.
- What are the best practices when using dependencies on libraries?
- What can I do to facilitate library installation for the developer?
- Is there a way to avoid using dependencies when creating a library that needs a HTTP client?
Thank you!