1- // swift-tools-version:5.9
1+ // swift-tools-version:5.10
22import PackageDescription
33
44let package = Package (
@@ -7,11 +7,11 @@ let package = Package(
77 . macOS( . v12) ,
88 ] ,
99 products: [
10- . library( name: " FluentPostGIS " , targets: [ " FluentPostGIS " ] ) ,
10+ . library( name: " FluentPostGIS " , targets: [ " FluentPostGIS " ] ) ,
1111 ] ,
1212 dependencies: [
13- . package ( url: " https://github.com/vapor/fluent-kit.git " , from: " 1.49.0 " ) ,
14- . package ( url: " https://github.com/vapor/fluent-postgres-driver.git " , from: " 2.10.0 " ) ,
13+ . package ( url: " https://github.com/vapor/fluent-kit.git " , from: " 1.52.2 " ) ,
14+ . package ( url: " https://github.com/vapor/fluent-postgres-driver.git " , from: " 2.10.1 " ) ,
1515 . package ( url: " https://github.com/rabc/WKCodable.git " , from: " 0.1.2 " ) ,
1616 ] ,
1717 targets: [
@@ -21,14 +21,25 @@ let package = Package(
2121 . product( name: " FluentKit " , package : " fluent-kit " ) ,
2222 . product( name: " FluentPostgresDriver " , package : " fluent-postgres-driver " ) ,
2323 . product( name: " WKCodable " , package : " WKCodable " ) ,
24- ]
24+ ] ,
25+ swiftSettings: swiftSettings
2526 ) ,
2627 . testTarget(
2728 name: " FluentPostGISTests " ,
2829 dependencies: [
2930 . target( name: " FluentPostGIS " ) ,
3031 . product( name: " FluentBenchmark " , package : " fluent-kit " ) ,
31- ]
32+ ] ,
33+ swiftSettings: swiftSettings
3234 ) ,
3335 ]
3436)
37+
38+ var swiftSettings : [ SwiftSetting ] { [
39+ . enableUpcomingFeature( " ExistentialAny " ) ,
40+ . enableUpcomingFeature( " ConciseMagicFile " ) ,
41+ . enableUpcomingFeature( " ForwardTrailingClosures " ) ,
42+ . enableUpcomingFeature( " DisableOutwardActorInference " ) ,
43+ . enableUpcomingFeature( " StrictConcurrency " ) ,
44+ . enableExperimentalFeature( " StrictConcurrency=complete " ) ,
45+ ] }
0 commit comments