copper-leaf / ballast

Opinionated Application State Management framework for Kotlin Multiplatform
https://copper-leaf.github.io/ballast/
BSD 3-Clause "New" or "Revised" License
144 stars 11 forks source link

[ballast-navigation] Remove ktor-http dependency #35

Closed cjbrooks12 closed 1 month ago

cjbrooks12 commented 1 year ago

The io.ktor:ktor-http dependency of Ballast Navigation module includes the necessary functionality for parsing URLs, but also includes a bunch of other stuff used by the Ktor HTTP server/client that is not necessary for parsing URLs. It's a much bigger dependency than I initially thought when adopting it, and is prohibitively large for JS applications, producing bundles that are unacceptably large, and it should be removed and replaced.

Ideally, the replacement would be a fully-multiplatform URL parser, like Ktor, but in the absence of such a library, it will likely be better to actual/expect the URL functionality.

cjbrooks12 commented 1 month ago

Released in v4.2.0