Files
swift-aws-lambda-runtime/Examples/ServiceLifecycle+Postgres/Package.swift
T
Sébastien Stormacq 2745fe1b5e drop support for Swift 6.0 (#667)
Drop support fro Swift 6.0 as per ecosystem's policy to support the last
three major versions, now 6.1, 6.2, and 6.3
- CI is updated 
- all docs, readme, and examples are updated to 6.3 as default
2026-05-14 11:00:09 +02:00

33 lines
1.3 KiB
Swift

// swift-tools-version: 6.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "LambdaWithServiceLifecycle",
platforms: [
.macOS(.v15)
],
dependencies: [
// For local development, uncomment the line below and comment the remote dependency:
// .package(name: "swift-aws-lambda-runtime", path: "../.."),
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.9.0"),
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.4.0"),
.package(url: "https://github.com/vapor/postgres-nio.git", from: "1.30.0"),
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.9.1"),
],
targets: [
.executableTarget(
name: "LambdaWithServiceLifecycle",
dependencies: [
.product(name: "PostgresNIO", package: "postgres-nio"),
.product(name: "ServiceLifecycle", package: "swift-service-lifecycle"),
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
]
)
]
)