Skip to content

Commit

Permalink
remove NIO1 API shims (#1897)
Browse files Browse the repository at this point in the history
Motivation:

The lastest NIO versions require Swift 5.2+ to compile. Given that
hopefully nobody ever created a NIO1 application for Swift 5.2+, I'd say
it's about time to remove the NIO1 API shims (and related docs).

Modification:

- remove the NIO1 API shims
- remove the migration docs

Result:

Less code.
  • Loading branch information
weissi authored Jul 13, 2021
1 parent 69f1f2d commit 87c5323
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 711 deletions.
3 changes: 0 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import PackageDescription

var targets: [PackageDescription.Target] = [
.target(name: "_NIO1APIShims",
dependencies: ["NIO", "NIOHTTP1", "NIOTLS", "NIOFoundationCompat", "NIOWebSocket"]),
.target(name: "NIO",
dependencies: ["CNIOLinux",
"CNIODarwin",
Expand Down Expand Up @@ -89,7 +87,6 @@ let package = Package(
name: "swift-nio",
products: [
.library(name: "NIO", targets: ["NIO"]),
.library(name: "_NIO1APIShims", targets: ["_NIO1APIShims"]),
.library(name: "_NIOConcurrency", targets: ["_NIOConcurrency"]),
.library(name: "NIOTLS", targets: ["NIOTLS"]),
.library(name: "NIOHTTP1", targets: ["NIOHTTP1"]),
Expand Down
Loading

0 comments on commit 87c5323

Please sign in to comment.