diff --git a/Package.swift b/Package.swift index a5db1c7..892b613 100644 --- a/Package.swift +++ b/Package.swift @@ -31,7 +31,7 @@ let package = Package( .package(url: "https://github.com/apple/swift-http-types.git", from: "1.3.0"), .package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"), .package(url: "https://github.com/apple/swift-log.git", from: "1.5.0"), - .package(url: "https://github.com/apple/swift-crypto.git", exact: "5.0.0-beta.1"), + .package(url: "https://github.com/apple/swift-crypto.git", from: "5.0.0-beta.1"), .package(url: "https://github.com/apple/swift-certificates.git", branch: "swift-crypto-5.x"), .package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.22.0"), .package(url: "https://github.com/apple/swift-nio-quic-helpers.git", branch: "main"), diff --git a/Tests/HTTP3Tests/TestUtil.swift b/Tests/HTTP3Tests/TestUtil.swift index 2ccc6a5..21fd5b6 100644 --- a/Tests/HTTP3Tests/TestUtil.swift +++ b/Tests/HTTP3Tests/TestUtil.swift @@ -14,15 +14,8 @@ public import HTTP3 import NIOCore -public import NIOQUICHelpers import QPACK -extension QUICStreamID: @retroactive ExpressibleByIntegerLiteral { - public init(integerLiteral value: UInt64) { - self.init(rawValue: value) - } -} - extension String { var huffmanEncodedBytes: [UInt8] { var buffer = ByteBuffer() diff --git a/Tests/NIOHTTP3Tests/TestUtil.swift b/Tests/NIOHTTP3Tests/TestUtil.swift index 07ffc27..335a31e 100644 --- a/Tests/NIOHTTP3Tests/TestUtil.swift +++ b/Tests/NIOHTTP3Tests/TestUtil.swift @@ -17,13 +17,6 @@ public import HTTP3 import NIOConcurrencyHelpers import NIOCore import NIOExtras -public import NIOQUICHelpers - -extension QUICStreamID: @retroactive ExpressibleByIntegerLiteral { - public init(integerLiteral value: UInt64) { - self.init(rawValue: value) - } -} extension HTTP3GoawayID: ExpressibleByIntegerLiteral { public init(integerLiteral value: UInt64) { diff --git a/Tests/QPACKTests/TestHelpers.swift b/Tests/QPACKTests/TestHelpers.swift deleted file mode 100644 index 52964eb..0000000 --- a/Tests/QPACKTests/TestHelpers.swift +++ /dev/null @@ -1,21 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// This source file is part of the SwiftNIO open source project -// -// Copyright (c) 2026 Apple Inc. and the SwiftNIO project authors -// Licensed under Apache License v2.0 -// -// See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of SwiftNIO project authors -// -// SPDX-License-Identifier: Apache-2.0 -// -//===----------------------------------------------------------------------===// - -import NIOQUICHelpers - -extension QUICStreamID: @retroactive ExpressibleByIntegerLiteral { - package init(integerLiteral value: UInt64) { - self.init(rawValue: value) - } -}