Prepare for convergence. (#27)

Motivation:

Once every few thousand years, an event called syzygy (or "convergence")
occurs in our solar system. When these events occur, the fabric of spacetime
becomes thin, allowing reflections of a possible future to appear in our
reality.

This gives a few brave souls the opportunity to experience a future: a
possibility of the way the universe may one day be. But be warned: to
toy with causality is to risk unbearable pain and suffering. Only the
bravest of souls should look too closely at these shadows of the future.

Modifications:

- Chose a firm anchor point in the SwiftNIO timeline.
- Removed the braces that kept time travellers safe.
- Said a quiet prayer.

Result:

Opportunity.
This commit is contained in:
Cory Benfield 2019-03-15 14:48:05 +00:00 committed by Johannes Weiss
parent 15fe53093c
commit e1685ae770
3 changed files with 5 additions and 7 deletions

View File

@ -26,16 +26,16 @@ let package = Package(
.executable(name: "NIOTSHTTPServer", targets: ["NIOTSHTTPServer"]), .executable(name: "NIOTSHTTPServer", targets: ["NIOTSHTTPServer"]),
], ],
dependencies: [ dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", .branch("master")), .package(url: "https://github.com/apple/swift-nio.git", .branch("2.0.0-convergence.1")),
], ],
targets: [ targets: [
.target(name: "NIOTransportServices", .target(name: "NIOTransportServices",
dependencies: ["NIO", "NIOFoundationCompat", "NIOConcurrencyHelpers", "NIOTLS", "_NIO1APIShims"]), dependencies: ["NIO", "NIOFoundationCompat", "NIOConcurrencyHelpers", "NIOTLS"]),
.target(name: "NIOTSHTTPClient", .target(name: "NIOTSHTTPClient",
dependencies: ["NIO", "NIOTransportServices", "NIOHTTP1", "_NIO1APIShims"]), dependencies: ["NIO", "NIOTransportServices", "NIOHTTP1"]),
.target(name: "NIOTSHTTPServer", .target(name: "NIOTSHTTPServer",
dependencies: ["NIO", "NIOTransportServices", "NIOHTTP1", "_NIO1APIShims"]), dependencies: ["NIO", "NIOTransportServices", "NIOHTTP1"]),
.testTarget(name: "NIOTransportServicesTests", .testTarget(name: "NIOTransportServicesTests",
dependencies: ["NIO", "NIOTransportServices", "_NIO1APIShims"]), dependencies: ["NIO", "NIOTransportServices"]),
] ]
) )

View File

@ -16,7 +16,6 @@
import NIO import NIO
import Dispatch import Dispatch
import Network import Network
import _NIO1APIShims
public final class NIOTSListenerBootstrap { public final class NIOTSListenerBootstrap {
private let group: EventLoopGroup private let group: EventLoopGroup

View File

@ -18,7 +18,6 @@ import Network
import NIO import NIO
import NIOTransportServices import NIOTransportServices
import Foundation import Foundation
import _NIO1APIShims
final class ConnectRecordingHandler: ChannelOutboundHandler { final class ConnectRecordingHandler: ChannelOutboundHandler {