From 283d4eca6ac24391a5dc86cc3d55175ee5f78741 Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Sat, 14 Feb 2026 16:18:58 +0000 Subject: Allow converting Fair/FairT to fs2.Stream --- build.sbt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'build.sbt') diff --git a/build.sbt b/build.sbt index e92779f..5f829ee 100644 --- a/build.sbt +++ b/build.sbt @@ -17,7 +17,7 @@ val Scala213 = "2.13.18" ThisBuild / crossScalaVersions := Seq(Scala213, "3.3.7") ThisBuild / scalaVersion := Scala213 // the default Scala -lazy val root = tlCrossRootProject.aggregate(core) +lazy val root = tlCrossRootProject.aggregate(core, fs2) lazy val core = crossProject(JVMPlatform, JSPlatform) .crossType(CrossType.Pure) @@ -32,4 +32,17 @@ lazy val core = crossProject(JVMPlatform, JSPlatform) ) ) +lazy val fs2 = crossProject(JVMPlatform, JSPlatform) + .crossType(CrossType.Pure) + .in(file("fs2")) + .dependsOn(core) + .settings( + name := "fairstream-fs2", + libraryDependencies ++= Seq( + "co.fs2" %%% "fs2-core" % "3.12.2", + "org.scalameta" %%% "munit" % "1.2.2" % Test, + "org.typelevel" %%% "munit-cats-effect" % "2.1.0" % Test + ) + ) + lazy val docs = project.in(file("site")).enablePlugins(TypelevelSitePlugin) -- cgit v1.2.3