Skip to content

Commit

Permalink
scala-yaml 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sideeffffect committed Jul 30, 2024
1 parent 1c3ad13 commit 666b499
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
This is a small library for parsing [YAML](https://yaml.org) into [circe](https://github.com/circe/circe)'s `Json` AST.
* For parsing YAML 1.1 it uses [SnakeYAML](https://bitbucket.org/snakeyaml/snakeyaml).
* For parsing YAML 1.2 it uses [snakeyaml-engine](https://bitbucket.org/snakeyaml/snakeyaml-engine).
* For parsing YAML on Scala.js or Scala Native (as well as Scala/JVM) it uses [scala-yaml](https://github.com/VirtusLab/scala-yaml).

## Why?

Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ val root = tlCrossRootProject.aggregate(
lazy val `circe-yaml-common` = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.in(file("circe-yaml-common"))
.settings(
description := "Library for converting between SnakeYAML's AST (YAML 2.0) and circe's AST",
description := "Common interface for circe-yaml.",
libraryDependencies ++= Seq(
"io.circe" %%% "circe-core" % Versions.circe
),
Expand All @@ -44,7 +44,7 @@ lazy val `circe-yaml` = project
.in(file("circe-yaml"))
.dependsOn(`circe-yaml-common`.jvm)
.settings(
description := "Library for converting between SnakeYAML's AST (YAML 2.0) and circe's AST",
description := "Library for converting between SnakeYAML's AST (YAML 1.1) and circe's AST",
libraryDependencies ++= Seq(
"org.yaml" % "snakeyaml" % Versions.snakeYaml,
"io.circe" %% "circe-jawn" % Versions.circe % Test,
Expand All @@ -61,7 +61,7 @@ lazy val `circe-yaml-v12` = project
.in(file("circe-yaml-v12"))
.dependsOn(`circe-yaml-common`.jvm)
.settings(
description := "Library for converting between snakeyaml-engine's AST (YAML 2.0) and circe's AST",
description := "Library for converting between snakeyaml-engine's AST (YAML 1.2) and circe's AST",
libraryDependencies ++= Seq(
"io.circe" %% "circe-jawn" % Versions.circe % Test,
"org.snakeyaml" % "snakeyaml-engine" % Versions.snakeYamlEngine,
Expand All @@ -79,7 +79,7 @@ lazy val `circe-yaml-scalayaml` = crossProject(JSPlatform, JVMPlatform, NativePl
.settings(
description := "Library for converting between scala-yaml AST and circe's AST",
libraryDependencies ++= Seq(
"org.virtuslab" %%% "scala-yaml" % "0.1.0",
"org.virtuslab" %%% "scala-yaml" % "0.3.0",
"org.scalatest" %%% "scalatest" % Versions.scalaTest % Test
),
tlVersionIntroduced := List("2.13", "3").map(_ -> "0.15.3").toMap
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("io.circe" % "sbt-circe-org" % "0.4.1")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.2")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.4")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1")

0 comments on commit 666b499

Please sign in to comment.