1- // swift-tools-version: 5.7
1+ // swift-tools-version: 5.9
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
@@ -14,10 +14,10 @@ let package = Package(
1414 . library( name: " LambdaMocks " , targets: [ " LambdaMocks " ] )
1515 ] ,
1616 dependencies: [
17- . package ( url: " https://github.com/apple/swift-log.git " , . upToNextMajor ( from: " 1.4.2 " ) ) ,
18- . package ( url: " https://github.com/apple/swift-nio.git " , . upToNextMajor ( from: " 2.43.1 " ) ) ,
19- . package ( url: " https://github.com/swift-server/swift-aws-lambda-events.git " , . upToNextMajor ( from: " 0.2.0 " ) ) ,
20- . package ( url: " https://github.com/swift-server/swift-aws-lambda-runtime.git " , " 1.0.0-alpha.1 " ..< " 1.0.0-beta.999 " )
17+ . package ( url: " https://github.com/apple/swift-log.git " , from: " 1.4.2 " ) ,
18+ . package ( url: " https://github.com/apple/swift-nio.git " , from: " 2.43.1 " ) ,
19+ . package ( url: " https://github.com/swift-server/swift-aws-lambda-events " , from: " 0.2.0 " ) ,
20+ . package ( url: " https://github.com/swift-server/swift-aws-lambda-runtime " , from : " 1.0.0-alpha.3 " )
2121 ]
2222)
2323
@@ -33,7 +33,7 @@ let targets: [Target] = [
3333 name: " LambdaExtras " ,
3434 dependencies: [
3535 " LambdaExtrasCore " ,
36- . product( name: " AWSLambdaRuntime " , package : " swift-aws-lambda-runtime " ) ,
36+ . product( name: " AWSLambdaRuntime " , package : " swift-aws-lambda-runtime " ) ,
3737 . product( name: " AWSLambdaEvents " , package : " swift-aws-lambda-events " )
3838 ]
3939 ) ,
@@ -54,11 +54,8 @@ let targets: [Target] = [
5454 )
5555]
5656
57- #if os(macOS)
58- package . dependencies. append ( . package ( url: " https://github.com/realm/SwiftLint.git " , from: " 0.54.0 " ) )
5957for target in targets {
60- target. plugins = [ . plugin ( name : " SwiftLintPlugin " , package : " SwiftLint " ) ]
58+ target. swiftSettings = [ . enableExperimentalFeature ( " StrictConcurrency " ) ]
6159}
62- #endif
6360
6461package . targets = targets
0 commit comments