Skip to content

Commit

Permalink
Removed Replicant and Shadow as they are now standalone transport lib…
Browse files Browse the repository at this point in the history
…raries
  • Loading branch information
consuelita committed Aug 6, 2021
1 parent 4240007 commit 381cfd0
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 2,150 deletions.
63 changes: 0 additions & 63 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,19 @@ let package = Package(
.iOS(.v14)],

products: [
.library(name: "Shadow", targets: ["Shadow"]),
.library(name: "Protean", targets: ["Protean"]),
.library(name: "Optimizer", targets: ["Optimizer"]),
.library(name: "Replicant", targets: ["Replicant"]),
.library(name: "LoggerQueue", targets: ["LoggerQueue"]),
.library(name: "ExampleTransports", targets: ["ExampleTransports"])],

dependencies: [
.package(url: "https://github.com/OperatorFoundation/Chord.git", from: "0.0.12"),
.package(url: "https://github.com/OperatorFoundation/Datable.git", from: "3.0.4"),
.package(url: "https://github.com/OperatorFoundation/ProteanSwift.git", from: "1.2.0"),
.package(url: "https://github.com/OperatorFoundation/ReplicantSwift.git", from: "0.8.6"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.2"),
.package(url: "https://github.com/OperatorFoundation/SwiftHexTools.git", from: "1.2.2"),
.package(url: "https://github.com/OperatorFoundation/SwiftQueue.git", from: "0.1.0"),
.package(url: "https://github.com/OperatorFoundation/Transmission.git", from: "0.2.3"),
.package(url: "https://github.com/OperatorFoundation/Transport.git", from: "2.3.5")],

targets: [
.target(
name: "Shadow",
dependencies: [
"Chord",
"Datable",
"Transmission",
"Transport",
.product(name: "Logging", package: "swift-log")]),

.target(
name: "Protean",
dependencies: [
Expand All @@ -56,12 +41,6 @@ let package = Package(
.product(name: "Logging", package: "swift-log")],
exclude: ["Info.plist", "README.md"]),

.target(
name:"Replicant",
dependencies:[
"ReplicantSwift",
.product(name: "Transmission", package: "Transmission")]),

.target(
name: "LoggerQueue",
dependencies: [
Expand All @@ -75,15 +54,6 @@ let package = Package(
"Transport",
.product(name: "Logging", package: "swift-log")]),

.testTarget(
name: "ShadowTests",
dependencies: [
"Datable",
"Shadow",
"SwiftHexTools",
.product(name: "Logging", package: "swift-log")],
exclude: ["Info.plist"]),

.testTarget(
name: "ProteanTests",
dependencies: [
Expand All @@ -97,7 +67,6 @@ let package = Package(
"Datable",
"Optimizer",
"Protean",
"Replicant",
.product(name: "Logging", package: "swift-log"),],
exclude: ["Info.plist"]),

Expand All @@ -114,17 +83,13 @@ let package = Package(
let package = Package(
name: "Shapeshifter-Swift-Transports",
products: [
.library(name: "Shadow", targets: ["Shadow"]),
.library(name: "Optimizer", targets: ["Optimizer"]),
.library(name: "Replicant", targets: ["Replicant"]),
.library(name: "LoggerQueue", targets: ["LoggerQueue"]),
.library(name: "ExampleTransports", targets: ["ExampleTransports"])],

dependencies: [
.package(url: "https://github.com/OperatorFoundation/Chord.git", from: "0.0.12"),
.package(url: "https://github.com/OperatorFoundation/Datable.git", from: "3.0.4"),
.package(url: "https://github.com/OperatorFoundation/NetworkLinux.git", from: "0.2.4"),
.package(url: "https://github.com/OperatorFoundation/ReplicantSwift.git", from: "0.8.3"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "1.1.2"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
.package(url: "https://github.com/OperatorFoundation/SwiftHexTools.git", from: "1.2.2"),
Expand All @@ -133,17 +98,6 @@ let package = Package(
.package(url: "https://github.com/OperatorFoundation/Transport.git", from: "2.3.3")],

targets: [
.target(
name: "Shadow",
dependencies: [
"Chord",
"Datable",
"Transport",
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "Logging", package: "swift-log"),
.product(name: "NetworkLinux", package: "NetworkLinux"),
.product(name: "TransmissionLinux", package: "TransmissionLinux")]),

.target(
name: "Optimizer",
dependencies: [
Expand All @@ -154,13 +108,6 @@ let package = Package(
.product(name: "TransmissionLinux", package: "TransmissionLinux")],
exclude: ["Info.plist", "README.md"]),

.target(
name:"Replicant",
dependencies:[
"ReplicantSwift",
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "TransmissionLinux", package: "TransmissionLinux")]),

.target(
name: "LoggerQueue",
dependencies: [
Expand All @@ -178,21 +125,11 @@ let package = Package(
.product(name: "NetworkLinux", package: "NetworkLinux"),
.product(name: "TransmissionLinux", package: "TransmissionLinux")]),

.testTarget(
name: "ShadowTests",
dependencies: [
"Datable",
"Shadow",
"SwiftHexTools",
.product(name: "Logging", package: "swift-log")],
exclude: ["Info.plist"]),

.testTarget(
name: "OptimizerTests",
dependencies: [
"Datable",
"Optimizer",
"Replicant",
.product(name: "Logging", package: "swift-log")],
exclude: ["Info.plist"]),

Expand Down
107 changes: 0 additions & 107 deletions Sources/Replicant/NWEndpoint.Host+Codable.swift

This file was deleted.

86 changes: 0 additions & 86 deletions Sources/Replicant/NWEndpoint.Port+Codable.swift

This file was deleted.

Loading

0 comments on commit 381cfd0

Please sign in to comment.