aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-08-08 13:18:22 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-08-08 13:18:22 +0100
commite8d1a32d7baedc3fd1a82c159456f54cd8131c05 (patch)
tree690a17846ed829494d54491733a6fc19a7eba17f /server
parent3858bfecd8be944f571d515657e249b82d0cc029 (diff)
downloadspacebeans-1.3.6.tar.gz
spacebeans-1.3.6.zip
Moved to use Pekkov1.3.6
Diffstat (limited to 'server')
-rw-r--r--server/src/net/usebox/gemini/server/Response.scala8
-rw-r--r--server/src/net/usebox/gemini/server/Server.scala10
-rw-r--r--server/test/src/ServerSpec.scala4
3 files changed, 14 insertions, 8 deletions
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) {
diff --git a/server/test/src/ServerSpec.scala b/server/test/src/ServerSpec.scala
index 800230a..9b6025a 100644
--- a/server/test/src/ServerSpec.scala
+++ b/server/test/src/ServerSpec.scala
@@ -1,6 +1,8 @@
package net.usebox.gemini.server
-import akka.util.ByteString
+import org.apache.pekko
+import pekko.util.ByteString
+
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers