From b7ddadafb8f5368f3314d6d7835262ddb4637b8d Mon Sep 17 00:00:00 2001 From: Ethan Huang Date: Mon, 2 Sep 2024 11:58:31 +0700 Subject: [PATCH] Enable strict concurrency --- Package.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 6fe51e4..2b64bdf 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.1 +// swift-tools-version:5.10 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -21,7 +21,8 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages which this package depends on. .target( name: "NSAttributedStringBuilder", - dependencies: [] + dependencies: [], + swiftSettings: [.enableUpcomingFeature("StrictConcurrency")] ), .testTarget( name: "NSAttributedStringBuilderTests",