Added PostgresNIO and NIOSSL to the Persistence library target.

This commit is contained in:
2026-08-05 01:30:59 +02:00
parent 52f092a4d7
commit e51f09c66f
2 changed files with 9 additions and 5 deletions
+8 -4
View File
@@ -65,6 +65,14 @@ let package = Package(
name: "SQLKit",
package: "sql-kit"
),
.product(
name: "PostgresNIO",
package: "postgres-nio"
),
.product(
name: "NIOSSL",
package: "swift-nio-ssl"
),
],
path: "Sources"
),
@@ -84,10 +92,6 @@ let package = Package(
name: "NIOPosix",
package: "swift-nio"
),
.product(
name: "NIOSSL",
package: "swift-nio-ssl"
),
],
path: "Tests"
),
+1 -1
View File
@@ -57,4 +57,4 @@ Every suite carries a tag naming the kind of API it exercises — `.enumeration`
## Requirements
- Swift 6.3 toolchain (`swift-tools-version:6.3`).
- macOS 15, matching the sibling `Infrastructure` and `Localization` packages (the services deploy to Linux containers; the packages carry no UI platforms).
- Package dependencies: `hummingbird-fluent`, `fluent-postgres-driver`, `fluent-sqlite-driver`, and `sql-kit`; the test target additionally depends on `postgres-nio`, `swift-nio`, and `swift-nio-ssl` for the TLS fallback tests.
- Package dependencies: `hummingbird-fluent`, `fluent-postgres-driver`, `fluent-sqlite-driver`, `sql-kit`, `postgres-nio`, and `swift-nio-ssl`; the test target additionally depends on `swift-nio` for the TLS fallback tests' fake server.