Getting Started
Modules
borer consists of these modules:
borer-core, the actual core logic (no dependencies)borer-derivation, (semi-)automatic codec derivation for case classes and ADTs
(no dependencies, relies on macros)borer-compat-akka, support forakka.util.ByteStringandakka-http(un)marshalling
(has aprovideddependency on akka-actor, akka-stream and akka-http)borer-compat-pekko, support forpekko.util.ByteStringandpekko-http(un)marshalling
(has aprovideddependency on pekko-actor, pekko-stream and pekko-http)borer-compat-cats, support for popular cats data structures from thecats.data._package (has aprovideddependency oncats-core)borer-compat-circe, seamless integration with circe codecs
(has aprovideddependency on circe)borer-compat-scodec, support forscodec.bits.ByteVector
(has aprovideddependency on scodec)
Installation
The artifacts for borer live on Maven Central and can be tied into your project like this:
- sbt
libraryDependencies ++= Seq( "io.bullet" %% "borer-core" % "1.16.1", "io.bullet" %% "borer-derivation" % "1.16.1", "io.bullet" %% "borer-compat-akka" % "1.16.1", "io.bullet" %% "borer-compat-circe" % "1.16.1", "io.bullet" %% "borer-compat-scodec" % "1.16.1" )- Maven
<dependencies> <dependency> <groupId>io.bullet</groupId> <artifactId>borer-core_3</artifactId> <version>1.16.1</version> </dependency> <dependency> <groupId>io.bullet</groupId> <artifactId>borer-derivation_3</artifactId> <version>1.16.1</version> </dependency> <dependency> <groupId>io.bullet</groupId> <artifactId>borer-compat-akka_3</artifactId> <version>1.16.1</version> </dependency> <dependency> <groupId>io.bullet</groupId> <artifactId>borer-compat-circe_3</artifactId> <version>1.16.1</version> </dependency> <dependency> <groupId>io.bullet</groupId> <artifactId>borer-compat-scodec_3</artifactId> <version>1.16.1</version> </dependency> </dependencies>- Gradle
dependencies { implementation "io.bullet:borer-core_3:1.16.1" implementation "io.bullet:borer-derivation_3:1.16.1" implementation "io.bullet:borer-compat-akka_3:1.16.1" implementation "io.bullet:borer-compat-circe_3:1.16.1" implementation "io.bullet:borer-compat-scodec_3:1.16.1" }
The current borer is available for Scala 3.x only, it’s available for the JVM, scala.js as well as Scala Native.
The latest version supporting Scala 2.13 is 1.8.0.
The latest version supporting Scala 2.12 is 1.7.2.
1.16.1