Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ktor-http Dependency from ksoup-core by Implementing String.resolveOrNull in Pure Kotlin #65

Closed
itboy87 opened this issue Sep 9, 2024 · 0 comments · Fixed by #81
Labels
enhancement New feature or request

Comments

@itboy87
Copy link
Collaborator

itboy87 commented Sep 9, 2024

The current implementation of this function in the kotlinx variant relies on the ktor-http dependency. This introduces an unnecessary dependency into the ksoup-core module.

Proposed Solution

Implement the String.resolveOrNull function in pure Kotlin. This change will remove the need for the ktor-http dependency within ksoup-core, making the library more lightweight and modular.

@itboy87 itboy87 added the enhancement New feature or request label Sep 9, 2024
itboy87 added a commit that referenced this issue Sep 11, 2024
Remove ktor-http Dependency from ksoup-core by Implementing String.resolveOrNull in Pure Kotlin
itboy87 added a commit that referenced this issue Sep 11, 2024
Remove ktor-http Dependency from ksoup-core by Implementing String.resolveOrNull in Pure Kotlin
@itboy87 itboy87 closed this as completed Sep 11, 2024
@itboy87 itboy87 mentioned this issue Sep 17, 2024
itboy87 added a commit that referenced this issue Sep 18, 2024
* Fixes #65 (#73)

Remove ktor-http Dependency from ksoup-core by Implementing String.resolveOrNull in Pure Kotlin

* Implement KMP CodePoint and remove external dependency (#75)

Fixes #74
Create a pure Kotlin implementation for CodePoint & remove the external dependency for CodePoint

* fix charbuf NPE

* add isUtf8Only flag for charset

* update extension function for SourceReader

* fix clock millis

* add ksoup-lite variant (#77)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant