Skip to content

Commit

Permalink
Update circe to 0.14.6
Browse files Browse the repository at this point in the history
  • Loading branch information
danslapman committed Feb 8, 2024
1 parent bd75f54 commit b1be79c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import scala.util.control.TailCalls.TailRec

import cats.instances.vector.*
import io.circe.*
import io.circe.generic.extras.*

import ru.tinkoff.tcb.utils.circe.optics.JsonOptic

Expand Down Expand Up @@ -103,15 +102,4 @@ package object circe {
case Left(va) => a.apply(va)
case Right(vb) => b.apply(vb)
}

object UpperCamelCaseConfiguration {
private def pascalize(word: String): String =
word
.split("_")
.map(s => s.capitalize)
.mkString

implicit val circeConfig: Configuration =
Configuration(pascalize, identity, useDefaults = false, None)
}
}

This file was deleted.

13 changes: 6 additions & 7 deletions backend/project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@ object Dependencies {
)

val json = Seq(
"io.circe" %% "circe-core" % "0.14.1",
"io.circe" %% "circe-generic" % "0.14.1",
"io.circe" %% "circe-parser" % "0.14.1",
"io.circe" %% "circe-generic-extras" % "0.14.1",
"io.circe" %% "circe-literal" % "0.14.1",
"io.circe" %% "circe-jawn" % "0.14.1",
"io.circe" %% "circe-core" % "0.14.6",
"io.circe" %% "circe-generic" % "0.14.6",
"io.circe" %% "circe-parser" % "0.14.6",
"io.circe" %% "circe-literal" % "0.14.6",
"io.circe" %% "circe-jawn" % "0.14.6",
"io.circe" %% "circe-derivation" % "0.13.0-M5",
"io.circe" %% "circe-derivation-annotations" % "0.13.0-M5",
"io.circe" %% "circe-refined" % "0.14.1"
"io.circe" %% "circe-refined" % "0.14.6"
)

def reflect(scalaVersion: String) = Seq("org.scala-lang" % "scala-reflect" % scalaVersion)
Expand Down

0 comments on commit b1be79c

Please sign in to comment.