-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
26 lines (24 loc) · 855 Bytes
/
Package.swift
File metadata and controls
26 lines (24 loc) · 855 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: "DHT",
platforms: [.iOS(.v26), .macOS(.v26)], // ignored on Linux but editing with Xcode requires it
products: [
.library(name: "DHT", targets: ["DHT"]),
],
dependencies: [
.package(url: "https://github.com/nallick/gpiod.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-collections.git", from: "1.3.0"),
.package(url: "https://github.com/apple/swift-log", from: "1.6.0"),
],
targets: [
.target(
name: "DHT",
dependencies: [
.product(name: "gpiod", package: "gpiod"),
.product(name: "Collections", package: "swift-collections"),
.product(name: "Logging", package: "swift-log"),
]
),
]
)