Skip to content

Commit 69dafd8

Browse files
authored
Add missing deque import (#1670)
Motivation: GRPC imports DequeModule but doesn't explicitly depend on it in the package manifest. Modifications: - Add missing dependcy Result: Package manifest more closely represents actual dependencies
1 parent 178e102 commit 69dafd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Package.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ let packageDependencies: [Package.Dependency] = [
4646
url: "https://github.com/apple/swift-nio-extras.git",
4747
from: "1.4.0"
4848
),
49+
.package(
50+
url: "https://github.com/apple/swift-collections.git",
51+
from: "1.0.5"
52+
),
4953
.package(
5054
url: "https://github.com/apple/swift-protobuf.git",
5155
from: "1.20.2"
@@ -120,6 +124,7 @@ extension Target.Dependency {
120124
name: "SwiftProtobufPluginLibrary",
121125
package: "swift-protobuf"
122126
)
127+
static let dequeModule: Self = .product(name: "DequeModule", package: "swift-collections")
123128

124129
static let grpcCore: Self = .target(name: "GRPCCore")
125130
}
@@ -143,6 +148,7 @@ extension Target {
143148
.nioExtras,
144149
.logging,
145150
.protobuf,
151+
.dequeModule,
146152
].appending(
147153
.nioSSL, if: includeNIOSSL
148154
),

0 commit comments

Comments
 (0)