-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPackage.swift
More file actions
26 lines (25 loc) · 950 Bytes
/
Copy pathPackage.swift
File metadata and controls
26 lines (25 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// swift-tools-version:6.2
import PackageDescription
let package = Package(
name: "zerosmtp-swift",
platforms: [.macOS(.v13)],
dependencies: [
// sersoft-gmbh/swift-smtp: actively maintained, SwiftNIO-based.
// Replaces the previously used Kitura/Swift-SMTP, which is
// unmaintained and fails to build against current OpenSSL.
// Pinned to an exact version (rather than a floating `from:`
// range) because 2.17.0+ bumps swift-tools-version to 6.3, which
// swift-actions/setup-swift@v2 cannot install yet (max is 6.2).
.package(url: "https://github.com/sersoft-gmbh/swift-smtp", .exact("2.18.1"))
],
targets: [
.executableTarget(
name: "zerosmtp-swift",
dependencies: [
.product(name: "SwiftSMTP", package: "swift-smtp")
],
path: ".",
sources: ["swift-zerosmtp.swift"]
)
]
)