Registry / networking / pkarr
library6.0.1rscratesunverified

Publish and resolve DNS records over the Mainline DHT using Public-Key Addressable Resource Records.

# Cargo.toml [dependencies] pkarr = "6.0.1"
INSTALL
IMPORT
SIG · PKARR
P
pkarr
networkingrustv6.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PkarrClient
use pkarr::PkarrClient;

Resolve a Pkarr name using the async client.

use pkarr::PkarrClient; #[tokio::main] async fn main() { let client = PkarrClient::new(); let result = client.resolve("example").await; println!("{:?}", result); }
Debug
Known issues
gotchaRequires an async runtime like Tokio.
fix
Add tokio as a dependency and use #[tokio::main] or another async runtime.
affects: >=6.0.0
Upgrade
Version history
6.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pkarr — cargo add pkarr · libregistry