Skip to content

Commit

Permalink
remove _NIOAPI1Shims since NIO 2 is in convergence (apple#59)
Browse files Browse the repository at this point in the history
* remove _NIOAPI1Shims since NIO 2 is in convergence

* remove import in NIOHPACK
  • Loading branch information
tanner0101 authored and Lukasa committed Mar 13, 2019
1 parent 48dccc5 commit 049ba81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ let package = Package(
.target(name: "NIOHTTP2Server",
dependencies: ["NIOHTTP2"]),
.target(name: "NIOHTTP2",
dependencies: ["NIO", "_NIO1APIShims", "NIOHTTP1", "NIOTLS", "NIOHPACK"]),
dependencies: ["NIO", "NIOHTTP1", "NIOTLS", "NIOHPACK"]),
.target(name: "NIOHPACK",
dependencies: ["NIO", "_NIO1APIShims", "NIOConcurrencyHelpers", "NIOHTTP1"]),
dependencies: ["NIO", "NIOConcurrencyHelpers", "NIOHTTP1"]),
.testTarget(name: "NIOHTTP2Tests",
dependencies: ["NIO", "_NIO1APIShims", "NIOHTTP1", "NIOHTTP2"]),
dependencies: ["NIO", "NIOHTTP1", "NIOHTTP2"]),
.testTarget(name: "NIOHPACKTests",
dependencies: ["NIOHPACK"])
]
Expand Down
1 change: 0 additions & 1 deletion Sources/NIOHPACK/HPACKEncoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
//===----------------------------------------------------------------------===//

import NIO
import _NIO1APIShims

/// An `HPACKEncoder` maintains its own dynamic header table and uses that to
/// encode HTTP headers to an internal byte buffer.
Expand Down

0 comments on commit 049ba81

Please sign in to comment.