#dns #dht #decentralized-identity #mainline

pkarr

Public-Key Addressable Resource Records (Pkarr); publish and resolve DNS records over Mainline DHT

64 releases (stable)

new 5.0.3 Feb 16, 2026
5.0.0 Oct 3, 2025
4.0.0 Sep 29, 2025
3.11.0 Sep 29, 2025
0.3.0 Oct 25, 2023

#93 in Network programming

Download history 6187/week @ 2025-10-27 7880/week @ 2025-11-03 6545/week @ 2025-11-10 7135/week @ 2025-11-17 5901/week @ 2025-11-24 7697/week @ 2025-12-01 7593/week @ 2025-12-08 6567/week @ 2025-12-15 4855/week @ 2025-12-22 4614/week @ 2025-12-29 8495/week @ 2026-01-05 8846/week @ 2026-01-12 15058/week @ 2026-01-19 16157/week @ 2026-01-26 16916/week @ 2026-02-02 13412/week @ 2026-02-09

62,526 downloads per month
Used in 222 crates (20 directly)

MIT license

210KB
4.5K SLoC

Pkarr

Rust implementation of Pkarr for publishing and resolving DNS packets over Mainline DHT.

Documentation

Features

Runtime Support

  • Asynchronous by Default: Built on async/await for optimal performance
  • Blocking API Available: Use Client::as_blocking() for synchronous operations
  • Runtime Agnostic: Compatible with non-Tokio runtimes via async_compat

WebAssembly

  • Browser Environment: Designed for JavaScript/Wasm integration
  • Relay Communication: Uses browser's Fetch API for relay calls
  • Limitations:
    • Not compatible with WASI
    • Cannot use WASI bindings for direct DHT access

Dependencies

~4–24MB
~303K SLoC