Skip to content

Commit d53f1b8

Browse files
coenttbclaude
andcommitted
Add RFC 1123 and RFC 5321 dependencies to Package.swift
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e6bc18a commit d53f1b8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Package.swift

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ extension String {
99

1010
extension Target.Dependency {
1111
static var rfc5322: Self { .target(name: .rfc5322) }
12+
static var rfc1123: Self { .product(name: "RFC_1123", package: "swift-rfc-1123") }
13+
static var rfc5321: Self { .product(name: "RFC_5321", package: "swift-rfc-5321") }
1214
}
1315

1416
let package = Package(
@@ -21,14 +23,15 @@ let package = Package(
2123
.library(name: .rfc5322, targets: [.rfc5322]),
2224
],
2325
dependencies: [
24-
// Add RFC dependencies here as needed
25-
// .package(url: "https://github.com/swift-web-standards/swift-rfc-1123.git", branch: "main"),
26+
.package(url: "https://github.com/swift-web-standards/swift-rfc-1123.git", branch: "main"),
27+
.package(url: "https://github.com/swift-web-standards/swift-rfc-5321.git", branch: "main"),
2628
],
2729
targets: [
2830
.target(
2931
name: .rfc5322,
3032
dependencies: [
31-
// Add target dependencies here
33+
.rfc1123,
34+
.rfc5321
3235
]
3336
),
3437
.testTarget(

0 commit comments

Comments
 (0)