Skip to content

Commit

Permalink
Clean up dependency graph and imports (#218)
Browse files Browse the repository at this point in the history
- Correctly express the dependency on NIO in Package.swift
- Correctly import _NIOConcurrency in files where it's used
  • Loading branch information
Lukasa authored and fabianfett committed Aug 24, 2021
1 parent f9d10b2 commit dc37ade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ let package = Package(
.product(name: "Logging", package: "swift-log"),
.product(name: "Backtrace", package: "swift-backtrace"),
.product(name: "NIOHTTP1", package: "swift-nio"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "_NIOConcurrency", package: "swift-nio"),
]),
.testTarget(name: "AWSLambdaRuntimeCoreTests", dependencies: [
Expand All @@ -51,6 +52,7 @@ let package = Package(
// for perf testing
.target(name: "MockServer", dependencies: [
.product(name: "NIOHTTP1", package: "swift-nio"),
.product(name: "NIO", package: "swift-nio"),
]),
.target(name: "StringSample", dependencies: ["AWSLambdaRuntime"]),
.target(name: "CodableSample", dependencies: ["AWSLambdaRuntime"]),
Expand Down
1 change: 1 addition & 0 deletions Sources/AWSLambdaRuntimeCore/LambdaHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
//
//===----------------------------------------------------------------------===//

import _NIOConcurrency
import Dispatch
import NIO

Expand Down

0 comments on commit dc37ade

Please sign in to comment.