mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
2745fe1b5e
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
29 lines
931 B
Swift
29 lines
931 B
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: "HBLambda",
|
|
platforms: [.macOS(.v15)],
|
|
dependencies: [
|
|
// the Swift Lambda Runtime is a dependency of hummingbird-lambda and it exports the runtime
|
|
// no need to import it here
|
|
|
|
.package(
|
|
url: "https://github.com/hummingbird-project/hummingbird-lambda.git",
|
|
from: "2.0.1"
|
|
),
|
|
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.1.0"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "HBLambda",
|
|
dependencies: [
|
|
.product(name: "HummingbirdLambda", package: "hummingbird-lambda"),
|
|
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
|
|
]
|
|
)
|
|
]
|
|
)
|