/DHT

A BitTorrent distributed hash table implementation in Swift

Primary LanguageSwiftApache License 2.0Apache-2.0

DHT

A Swift package to help use the BitTorrent Distributed Hash Table.

Usage

Swift Package Manager

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"]
        )
    ]
)

License

Apache-2.0 License