# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "pkarr" version = "2.2.1-alpha.2" authors = ["Nuh "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Public-Key Addressable Resource Records (Pkarr); publish and resolve DNS records over Mainline DHT" readme = "README.md" keywords = [ "mainline", "dht", "dns", "decentralized", "identity", ] license = "MIT" repository = "https://git.pkarr.org" [package.metadata.docs.rs] all-features = true [lib] name = "pkarr" path = "src/lib.rs" [[example]] name = "publish" path = "examples/publish.rs" [[example]] name = "resolve" path = "examples/resolve.rs" [dependencies.base32] version = "0.5.0" [dependencies.bytes] version = "1.7.1" [dependencies.document-features] version = "0.2.8" [dependencies.ed25519-dalek] version = "2.0.0" [dependencies.flume] version = "0.11.0" features = [ "select", "eventual-fairness", ] default-features = false [dependencies.lru] version = "0.12.3" default-features = false [dependencies.rand] version = "0.8.5" optional = true [dependencies.self_cell] version = "1.0.2" [dependencies.serde] version = "1.0.209" features = ["derive"] optional = true [dependencies.simple-dns] version = "0.6.1" [dependencies.thiserror] version = "1.0.49" [dependencies.tracing] version = "0.1.40" [dev-dependencies.futures] version = "0.3.29" [dev-dependencies.postcard] version = "1.0.10" features = ["alloc"] [features] async = ["flume/async"] default = [ "dht", "rand", ] dht = [ "dep:mainline", "dep:dyn-clone", ] full = [ "dht", "async", "relay", "rand", "serde", ] rand = [ "dep:rand", "ed25519-dalek/rand_core", ] relay = ["dep:ureq"] serde = ["dep:serde"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.dyn-clone] version = "1.0.17" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.mainline] version = "2.0.1" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq] version = "2.10" features = ["tls"] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.clap] version = "4.4.8" features = ["derive"] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.mockito] version = "1.4.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [target.'cfg(target_arch = "wasm32")'.dependencies.futures] version = "0.3.29" [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.69" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.92" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.42" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.69" features = [ "console", "Request", "RequestInit", "RequestMode", "Response", "Window", ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.42"