diff --git a/CHANGELOG.md b/CHANGELOG.md index daf1358..eafe032 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ Change Log ========================== +6.1.0 +-------------------------- + +### Changes + +- Support Swift 6.0. + + + 6.0.1 -------------------------- diff --git a/Package.swift b/Package.swift index 1b3a48f..a6982c0 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.8 +// swift-tools-version: 6.0 import PackageDescription @@ -8,15 +8,18 @@ let package = Package( .library(name: "Gzip", targets: ["Gzip"]), ], targets: [ - .target(name: "Gzip", - dependencies: ["system-zlib"], - swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]), - .target(name: "system-zlib"), + .target( + name: "Gzip", + dependencies: ["system-zlib"] + ), + .target( + name: "system-zlib" + ), .testTarget( name: "GzipTests", dependencies: ["Gzip"], - resources: [.copy("./test.txt.gz")], - swiftSettings: [.enableExperimentalFeature("StrictConcurrency")] + resources: [.copy("test.txt.gz")] ), - ] + ], + swiftLanguageVersions: [.v6] ) diff --git a/Package@swift-5.10.swift b/Package@swift-5.10.swift new file mode 100644 index 0000000..d7fc4e4 --- /dev/null +++ b/Package@swift-5.10.swift @@ -0,0 +1,26 @@ +// swift-tools-version: 5.10 + +import PackageDescription + +let package = Package( + name: "GzipSwift", + products: [ + .library(name: "Gzip", targets: ["Gzip"]), + ], + targets: [ + .target( + name: "Gzip", + dependencies: ["system-zlib"], + swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]) + ), + .target( + name: "system-zlib" + ), + .testTarget( + name: "GzipTests", + dependencies: ["Gzip"], + resources: [.copy("test.txt.gz")], + swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]) + ), + ] +)