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

Scala-native support #564

Closed
Baccata opened this issue Sep 12, 2022 · 3 comments
Closed

Scala-native support #564

Baccata opened this issue Sep 12, 2022 · 3 comments
Assignees
Milestone

Comments

@Baccata
Copy link
Contributor

Baccata commented Sep 12, 2022

Scala-native support, developed using @armanbilge's bootleg artifacts.

@Baccata Baccata added this to the 0.8.0 milestone Sep 12, 2022
@Baccata Baccata self-assigned this Sep 12, 2022
@armanbilge
Copy link

They've graduated from bootleg artifacts; they are now effectively RCs.

@Baccata
Copy link
Contributor Author

Baccata commented Sep 16, 2022

This is done and merged to the main branch. You can try a snapshot: 0.7.15+59-853de010-SNAPSHOT

@keynmol
Copy link
Collaborator

keynmol commented Sep 16, 2022

Given that this is the snapshot which will become 0.8.0 with significant build changes, I went ahead and tested fs2-data with the snapshot:

diff --git a/build.sbt b/build.sbt
index 54b5faf..7d6ba99 100644
--- a/build.sbt
+++ b/build.sbt
@@ -10,10 +10,13 @@ val shapeless3Version = "3.1.0"
 val scalaJavaTimeVersion = "2.4.0"
 val diffsonVersion = "4.1.1"
 val literallyVersion = "1.1.0"
+val weaverVersion = "0.7.15+59-853de010-SNAPSHOT"

 val copyrightYears = "2019-2022"

+
 val commonSettings = List(
+  resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
   scalaVersion := scala213,
   crossScalaVersions := Seq(scala213, scala212, scala3),
   // Copied from circe
@@ -66,10 +69,10 @@ val commonSettings = List(
     "io.circe" %%% "circe-jawn" % circeVersion % "test",
     "io.circe" %%% "circe-generic" % circeVersion % "test",
     "co.fs2" %%% "fs2-io" % fs2Version % "test",
-    "com.disneystreaming" %%% "weaver-cats" % "0.7.15" % "test",
-    "com.disneystreaming" %%% "weaver-cats-core" % "0.7.15" % "test",
-    "com.disneystreaming" %%% "weaver-core" % "0.7.15" % "test",
-    "com.disneystreaming" %%% "weaver-framework" % "0.7.15" % "test",
+    "com.disneystreaming" %%% "weaver-cats" % weaverVersion % "test",
+    "com.disneystreaming" %%% "weaver-cats-core" % weaverVersion % "test",
+    "com.disneystreaming" %%% "weaver-core" % weaverVersion % "test",
+    "com.disneystreaming" %%% "weaver-framework" % weaverVersion % "test",
     "com.eed3si9n.expecty" %%% "expecty" % "0.15.4" % "test",
     "org.portable-scala" %%% "portable-scala-reflect" % "1.1.2" cross CrossVersion.for3Use2_13
   ) ++ PartialFunction

Tests seem fine so far.

Will test native support somewhere else.

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

No branches or pull requests

3 participants