diff --git a/Package@swift-5.9.swift b/Package@swift-5.9.swift new file mode 100644 index 0000000..d58735c --- /dev/null +++ b/Package@swift-5.9.swift @@ -0,0 +1,29 @@ +// swift-tools-version:5.9 +import PackageDescription + +let package = Package( + name: "vapor-apns", + platforms: [ + .macOS(.v13), + .iOS(.v16) + ], + products: [ + .library(name: "VaporAPNS", targets: ["VaporAPNS"]), + ], + dependencies: [ + .package(url: "https://github.com/swift-server-community/APNSwift.git", from: "5.0.0"), + .package(url: "https://github.com/vapor/vapor.git", from: "4.77.2"), + ], + targets: [ + .target(name: "VaporAPNS", dependencies: [ + .product(name: "APNS", package: "apnswift"), + .product(name: "Vapor", package: "vapor"), + ], + swiftSettings: [.enableExperimentalFeature("StrictConcurrency=complete")]), + .testTarget(name: "VaporAPNSTests", dependencies: [ + .target(name: "VaporAPNS"), + .product(name: "XCTVapor", package: "vapor"), + ], + swiftSettings: [.enableExperimentalFeature("StrictConcurrency=complete")]), + ] +)