#dns #dht #mainline #decentralized-identity

pkarr

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

66 releases (stable)

6.0.0-rc.0 Feb 17, 2026
5.0.4 Mar 25, 2026
5.0.3 Feb 16, 2026
5.0.0 Oct 3, 2025
0.3.0 Oct 25, 2023

#79 in Network programming

Download history 4070/week @ 2025-12-27 8634/week @ 2026-01-03 8266/week @ 2026-01-10 14188/week @ 2026-01-17 16220/week @ 2026-01-24 16736/week @ 2026-01-31 13952/week @ 2026-02-07 15496/week @ 2026-02-14 17504/week @ 2026-02-21 19838/week @ 2026-02-28 20817/week @ 2026-03-07 17805/week @ 2026-03-14 19336/week @ 2026-03-21 20019/week @ 2026-03-28 19602/week @ 2026-04-04 25470/week @ 2026-04-11

86,887 downloads per month
Used in 264 crates (23 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–25MB
~297K SLoC