Skip to content

Commit 18f023e

Browse files
committed
WIP: client side connection broker
1 parent 45eef40 commit 18f023e

File tree

8 files changed

+736
-5
lines changed

8 files changed

+736
-5
lines changed

Package.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ PlatformTargets = []
5050
#elseif os(macOS) || os(iOS)
5151
PlatformPackageDependencies = [
5252
.package(url: "https://github.com/swhitty/FlyingFox", from: "0.20.0"),
53+
.package(url: "https://github.com/fwcd/swift-dns-service-discovery", branch: "main"),
54+
// TODO: no release cut!
5355
.package(
5456
url: "https://github.com/spacenation/swiftui-sliders",
5557
from: "2.1.0"
@@ -67,6 +69,11 @@ PlatformTargetDependencies = [
6769
package: "FlyingFox",
6870
condition: .when(platforms: [.macOS, .iOS, .android])
6971
),
72+
.product(
73+
name: "DNSServiceDiscovery",
74+
package: "swift-dns-service-discovery",
75+
condition: .when(platforms: [.macOS, .iOS])
76+
),
7077
]
7178

7279
PlatformProducts = [
@@ -189,7 +196,18 @@ let CommonTargets: [Target] = [
189196
linkerSettings: [] + ASANLinkerSettings
190197

191198
),
199+
.executableTarget(
200+
name: "OCABrokerTest",
201+
dependencies: [
202+
"SwiftOCA",
203+
],
204+
path: "Examples/OCABrokerTest",
205+
swiftSettings: [
206+
.unsafeFlags(ASANSwiftFlags),
207+
],
208+
linkerSettings: [] + ASANLinkerSettings
192209

210+
),
193211
.testTarget(
194212
name: "SwiftOCATests",
195213
dependencies: [

0 commit comments

Comments
 (0)