Skip to content

Remove preconcurrency imports of NIOHPACK #1435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ let packageDependencies: [Package.Dependency] = [
),
.package(
url: "https://github.com/apple/swift-nio-http2.git",
from: "1.19.2"
from: "1.22.0"
),
.package(
url: "https://github.com/apple/swift-nio-transport-services.git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

@preconcurrency import Logging
import NIOConcurrencyHelpers
@preconcurrency import NIOHPACK
import NIOHPACK

@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
public struct GRPCAsyncServerCallContext: Sendable {
Expand Down
3 changes: 1 addition & 2 deletions Sources/GRPC/CallOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ import struct Foundation.UUID
#if swift(>=5.6)
@preconcurrency import Logging
@preconcurrency import NIOCore
@preconcurrency import NIOHPACK
#else
import Logging
import NIOCore
import NIOHPACK
#endif // swift(>=5.6)

import NIOHPACK
import NIOHTTP1
import NIOHTTP2

Expand Down