diff --git a/.swiftformatignore b/.swiftformatignore new file mode 100644 index 0000000..ef0b696 --- /dev/null +++ b/.swiftformatignore @@ -0,0 +1 @@ +**Package.swift diff --git a/Package.swift b/Package.swift index ac0e6a6..6cce1a8 100644 --- a/Package.swift +++ b/Package.swift @@ -50,3 +50,14 @@ let package = Package( ), ] ) + +// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- // +for target in package.targets { + if target.type != .plugin { + var settings = target.swiftSettings ?? [] + // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings + } +} +// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- // diff --git a/Tests/OpenAPIAsyncHTTPClientTests/Test_AsyncHTTPClientTransport.swift b/Tests/OpenAPIAsyncHTTPClientTests/Test_AsyncHTTPClientTransport.swift index 7bd9f41..8c94dd5 100644 --- a/Tests/OpenAPIAsyncHTTPClientTests/Test_AsyncHTTPClientTransport.swift +++ b/Tests/OpenAPIAsyncHTTPClientTests/Test_AsyncHTTPClientTransport.swift @@ -14,6 +14,7 @@ import XCTest import OpenAPIRuntime import NIOCore +import NIOHTTP1 import NIOPosix import AsyncHTTPClient @testable import OpenAPIAsyncHTTPClient