https://github.com/bluk/dht
A BitTorrent distributed hash table implementation in Swift
https://github.com/bluk/dht
Last synced: 11 months ago
JSON representation
A BitTorrent distributed hash table implementation in Swift
- Host: GitHub
- URL: https://github.com/bluk/dht
- Owner: bluk
- License: apache-2.0
- Created: 2019-09-04T20:05:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-15T02:57:54.000Z (over 6 years ago)
- Last Synced: 2025-04-12T08:53:05.530Z (over 1 year ago)
- Language: Swift
- Size: 40 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# DHT
A [Swift][swift] package to help use the [BitTorrent][bittorrent] [Distributed Hash Table][dht].
## Usage
### Swift Package Manager
Add this package to your `Package.swift` `dependencies` and target's `dependencies`:
```swift
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][license]
[license]: LICENSE
[swift]: https://swift.org
[bittorrent]: http://bittorrent.org/
[dht]: http://bittorrent.org/beps/bep_0005.html