-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert the changed package name in the exports (#174)
* Revert the changed package name in the exports, this apparently breaks building against FluentKit when not using any of the driver packages. Add CI to test this scenario.
- Loading branch information
Showing
4 changed files
with
80 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// swift-tools-version:5.9 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "sql-kit", | ||
platforms: [ | ||
.macOS(.v10_15), | ||
.iOS(.v13), | ||
.watchOS(.v6), | ||
.tvOS(.v13), | ||
], | ||
products: [ | ||
.library(name: "SQLKit", targets: ["SQLKit"]), | ||
.library(name: "SQLKitBenchmark", targets: ["SQLKitBenchmark"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/apple/swift-nio.git", from: "2.64.0"), | ||
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.4"), | ||
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"), | ||
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.3.0"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "SQLKit", | ||
dependencies: [ | ||
.product(name: "Logging", package: "swift-log"), | ||
.product(name: "NIO", package: "swift-nio"), | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "Collections", package: "swift-collections"), | ||
], | ||
swiftSettings: swiftSettings | ||
), | ||
.target( | ||
name: "SQLKitBenchmark", | ||
dependencies: [ | ||
.target(name: "SQLKit"), | ||
], | ||
swiftSettings: swiftSettings | ||
), | ||
.testTarget( | ||
name: "SQLKitTests", | ||
dependencies: [ | ||
.target(name: "SQLKit"), | ||
.target(name: "SQLKitBenchmark"), | ||
], | ||
swiftSettings: swiftSettings | ||
), | ||
] | ||
) | ||
|
||
var swiftSettings: [SwiftSetting] { [ | ||
.enableUpcomingFeature("ExistentialAny"), | ||
.enableUpcomingFeature("ConciseMagicFile"), | ||
.enableUpcomingFeature("ForwardTrailingClosures"), | ||
.enableUpcomingFeature("ImportObjcForwardDeclarations"), | ||
.enableUpcomingFeature("DisableOutwardActorInference"), | ||
.enableUpcomingFeature("IsolatedDefaultValues"), | ||
.enableUpcomingFeature("GlobalConcurrency"), | ||
.enableUpcomingFeature("StrictConcurrency"), | ||
.enableExperimentalFeature("StrictConcurrency=complete"), | ||
] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@_documentation(visibility: internal) @_exported import protocol NIOCore.EventLoop | ||
@_documentation(visibility: internal) @_exported import class NIOCore.EventLoopFuture | ||
@_documentation(visibility: internal) @_exported import protocol NIO.EventLoop | ||
@_documentation(visibility: internal) @_exported import class NIO.EventLoopFuture | ||
@_documentation(visibility: internal) @_exported import struct Logging.Logger |