refined
The ciris-refined module provides ConfigDecoders for refined refinement types.
Getting Started
To get started with sbt, add the following line to your build.sbt file.
libraryDependencies += "is.cir" %% "ciris-refined" % "3.15.2"
If you are using Scala.js or Scala Native, make sure to replace %% with %%% above.
Usage
import ciris.env
import ciris.refined._
import eu.timepit.refined.types.numeric.PosInt
env("POS_INT").as[PosInt]
// res0: ciris.ConfigValue[ciris.package.Effect, PosInt] = ConfigValue$908388464