From e8d1a32d7baedc3fd1a82c159456f54cd8131c05 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 8 Aug 2023 13:18:22 +0100 Subject: Moved to use Pekko --- server/src/net/usebox/gemini/server/Response.scala | 8 +++++--- server/src/net/usebox/gemini/server/Server.scala | 10 ++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'server/src') diff --git a/server/src/net/usebox/gemini/server/Response.scala b/server/src/net/usebox/gemini/server/Response.scala index 9675262..5af0f61 100644 --- a/server/src/net/usebox/gemini/server/Response.scala +++ b/server/src/net/usebox/gemini/server/Response.scala @@ -7,9 +7,11 @@ import scala.util.Try import net.usebox.gemini.server.URIUtils._ -import akka.stream.scaladsl.{FileIO, Source} -import akka.stream.ActorAttributes -import akka.util.ByteString +import org.apache.pekko +import pekko.stream.scaladsl.{FileIO, Source} +import pekko.stream.ActorAttributes +import pekko.util.ByteString + import org.log4s._ sealed trait Response { diff --git a/server/src/net/usebox/gemini/server/Server.scala b/server/src/net/usebox/gemini/server/Server.scala index 3925f12..bd3c66c 100644 --- a/server/src/net/usebox/gemini/server/Server.scala +++ b/server/src/net/usebox/gemini/server/Server.scala @@ -9,10 +9,12 @@ import scala.util.{Success => TrySuccess, Try} import net.usebox.gemini.server.handlers.GeminiHandler -import akka.actor.ActorSystem -import akka.stream._ -import akka.stream.scaladsl._ -import akka.util.ByteString +import org.apache.pekko +import pekko.actor.ActorSystem +import pekko.stream._ +import pekko.stream.scaladsl._ +import pekko.util.ByteString + import org.log4s._ case class Server(conf: ServiceConf) { -- cgit v1.2.3