I want to use ArmeriaCatsBackend
as sttp backend with Cats effects.
The following code does not compile:
object Main extends IOApp {
val backend = ArmeriaCatsBackend[IO]()
// ...
}
could not find implicit value for evidence parameter of type cats.effect.kernel.Async[cats.effect.IO] Error occurred in an application involving default arguments.
What am I missing?
Dang. I was using scala-effects v2.x and sttp-ameria for v3.
After upgrading to scala-effects v3.x everything is ok.