File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,29 @@ let package = Package(
2121 name: " PostgreSQL " ,
2222 dependencies: [
2323 . product( name: " Network " , package : " network " ) ,
24- ] ) ,
24+ ] ,
25+ swiftSettings: swift6) ,
2526 . executableTarget(
2627 name: " Tests/PostgreSQL " ,
2728 dependencies: [
2829 . target( name: " PostgreSQL " ) ,
2930 . product( name: " Test " , package : " test " ) ,
3031
3132 ] ,
32- path: " Tests/PostgreSQL " ) ,
33+ path: " Tests/PostgreSQL " ,
34+ swiftSettings: swift6) ,
3335 ]
3436)
3537
38+ let swift6 : [ SwiftSetting ] = [
39+ . enableUpcomingFeature( " ConciseMagicFile " ) ,
40+ . enableUpcomingFeature( " ForwardTrailingClosures " ) ,
41+ . enableUpcomingFeature( " ExistentialAny " ) ,
42+ . enableUpcomingFeature( " StrictConcurrency " ) ,
43+ . enableUpcomingFeature( " ImplicitOpenExistentials " ) ,
44+ . enableUpcomingFeature( " BareSlashRegexLiterals " ) ,
45+ ]
46+
3647// MARK: - custom package source
3748
3849#if canImport(ObjectiveC)
You can’t perform that action at this time.
0 commit comments