Skip to content

Commit 4c66474

Browse files
committed
chore: set minimum Swift version to 6.0 and remove platform constraints
- Update swift-tools-version from 5.9 to 6.0 - Remove explicit platform constraints (pure Swift types work on all platforms) - Remove unused Foundation import from Input.Type.swift Align with Swift Testing framework requirement and CI coverage (Swift 6.0 and 6.2).
1 parent 09667cb commit 4c66474

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Package.swift

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.9
1+
// swift-tools-version:6.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -23,13 +23,6 @@ extension Target.Dependency {
2323

2424
let package = Package(
2525
name: "swift-html-types",
26-
platforms: [
27-
.macOS(.v13),
28-
.iOS(.v16),
29-
.tvOS(.v16),
30-
.watchOS(.v9),
31-
.visionOS(.v1)
32-
],
3326
products: [
3427
.library(name: .htmlTypes, targets: [.htmlTypes]),
3528
.library(name: .htmlTypesFoundation, targets: [.htmlTypesFoundation]),

Sources/HTMLTypes/Conveniences/Input.Type.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// Created by Coen ten Thije Boonkkamp on 11/07/2025.
66
//
77

8-
import Foundation
98
import HTMLAttributeTypes
109

1110
extension Input.Variant {

0 commit comments

Comments
 (0)