Populate Case Classes From Any Data Source
Clone or download

README.md

Extruder

Typelevel Incubator Build Status codecov

This library uses shapeless and cats to provide a neat syntax to instantiate Scala case classes from a data source.

See the extruder microsite for detailed documentation.

Modules

Module Description Download
Extruder Main module, includes core functionality and basic resolvers. Download
Typesafe Config Support for resolution from Typesafe Config. Download
Refined Support for Refined types. Download
AWS Support for AWS types. Download
Prometheus Support for encoding data as Prometheus metrics. Download
Dropwizard Support for encoding data as Dropwizard metrics. Download
Spectator Support for encoding data as Spectator metrics. Download

Install with SBT

Add the following to your build.sbt:

resolvers += Resolver.bintrayRepo("janstenpickle", "maven")
libraryDependencies += "extruder" %% "extruder" % "0.9.2"

// only if you require support for Typesafe config
libraryDependencies += "extruder" %% "extruder-typesafe" % "0.9.2"

// only if you require support for refined types
libraryDependencies += "extruder" %% "extruder-refined" % "0.9.2"

// only if you require support for AWS config
libraryDependencies += "extruder" %% "extruder-aws" % "0.9.2"

// only if you require support for prometheus encoders
libraryDependencies += "extruder" %% "extruder-metrics-prometheus" % "0.9.2"

// only if you require support for dropwizard encoders
libraryDependencies += "extruder" %% "extruder-metrics-dropwizard" % "0.9.2"

// only if you require support for spectator encoders
libraryDependencies += "extruder" %% "extruder-metrics-spectator" % "0.9.2"

Participation

This project supports the Typelevel code of conduct and aims that its channels (mailing list, Gitter, github, etc.) to be welcoming environments for everyone.