A Swift package to help use the BitTorrent Distributed Hash Table.
Add this package to your Package.swift
dependencies
and target's dependencies
:
import PackageDescription
let package = Package(
name: "Example",
dependencies: [
.package(
url: "https://github.com/bluk/DHT",
from: "0.1.0"
),
],
targets: [
.target(
name: "YourProject",
dependencies: ["DHT"]
)
]
)