Skip to content

Commit 552b517

Browse files
committed
Apply swift-format and update Package.swift
1 parent 3ea9b93 commit 552b517

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

Package.swift

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:6.2
1+
// swift-tools-version: 6.2
22

33
import PackageDescription
44

@@ -16,18 +16,19 @@ extension Target.Dependency {
1616
let package = Package(
1717
name: "swift-rfc-1123",
1818
platforms: [
19-
.macOS(.v15),
20-
.iOS(.v18),
21-
.tvOS(.v18),
22-
.watchOS(.v11),
19+
.macOS(.v26),
20+
.iOS(.v26),
21+
.tvOS(.v26),
22+
.watchOS(.v26),
23+
.visionOS(.v26),
2324
],
2425
products: [
2526
.library(name: .rfc1123, targets: [.rfc1123])
2627
],
2728
dependencies: [
28-
.package(url: "https://github.com/swift-standards/swift-rfc-1035", from: "0.4.0"),
29-
.package(url: "https://github.com/swift-standards/swift-standards.git", from: "0.8.0"),
30-
.package(url: "https://github.com/swift-standards/swift-incits-4-1986.git", from: "0.6.0"),
29+
.package(url: "https://github.com/swift-standards/swift-rfc-1035", from: "0.1.0"),
30+
.package(url: "https://github.com/swift-standards/swift-standards", from: "0.1.0"),
31+
.package(url: "https://github.com/swift-standards/swift-incits-4-1986", from: "0.1.0"),
3132
],
3233
targets: [
3334
.target(

Sources/RFC 1123/RFC_1123.Domain.Label.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ extension RFC_1123.Domain.Label: Hashable {
7373

7474
// MARK: - Serializable
7575

76-
extension RFC_1123.Domain.Label: UInt8.ASCII.Serializable {
76+
extension RFC_1123.Domain.Label: Binary.ASCII.Serializable {
7777
public static func serialize<Buffer: RangeReplaceableCollection>(
7878
ascii label: Self,
7979
into buffer: inout Buffer
@@ -169,6 +169,6 @@ extension RFC_1123.Domain.Label: UInt8.ASCII.Serializable {
169169

170170
// MARK: - Protocol Conformances
171171

172-
extension RFC_1123.Domain.Label: UInt8.ASCII.RawRepresentable {}
172+
extension RFC_1123.Domain.Label: Binary.ASCII.RawRepresentable {}
173173
extension RFC_1123.Domain.Label: RawRepresentable {}
174174
extension RFC_1123.Domain.Label: CustomStringConvertible {}

0 commit comments

Comments
 (0)