Skip to content

Add Scala Native support using libcurl backend#226

Open
webhop123 wants to merge 1 commit intocom-lihaoyi:masterfrom
webhop123:feature/scala-native-support
Open

Add Scala Native support using libcurl backend#226
webhop123 wants to merge 1 commit intocom-lihaoyi:masterfrom
webhop123:feature/scala-native-support

Conversation

@webhop123
Copy link
Copy Markdown

This PR adds support for Scala Native 0.5.x to requests-scala.

Key Changes:

  • Modularized Source: Separated JVM-specific logic into src-jvm/ and created src-native/ for Scala Native.
  • Libcurl Backend: Implemented the core HTTP request logic using libcurl via Scala Native's C interop.
  • Windows Support: Configured the build to work with vcpkg for dependency management on Windows.
  • Compatibility Shims: Added shims for missing java.net and javax.net.ssl classes in Scala Native for Windows.
  • Verified: Confirmed GET and POST requests are working on Windows Native, and existing JVM tests still pass.

/claim #156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant