# 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 = "pubky" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Pubky core client" readme = "README.md" keywords = [ "web", "dht", "dns", "decentralized", "identity", ] license = "MIT" repository = "https://github.com/pubky/pubky" [package.metadata.docs.rs] all-features = true [package.metadata.wasm-pack.profile.release] wasm-opt = [ "-g", "-O", ] [lib] name = "pubky" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[bin]] name = "bundle_pubky_npm" path = "src/bin/bundle_pubky_npm.rs" [dependencies.base64] version = "0.22.1" [dependencies.bytes] version = "^1.7.1" [dependencies.pkarr] version = "2.2.1-alpha.2" features = [ "serde", "async", ] [dependencies.pubky-common] version = "0.1.0" [dependencies.thiserror] version = "1.0.62" [dependencies.url] version = "2.5.2" [dependencies.wasm-bindgen] version = "0.2.92" [dev-dependencies.tokio] version = "1.37.0" [features] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest] version = "0.12.5" features = [ "cookies", "rustls-tls", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.37.0" features = ["full"] [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.69" [target.'cfg(target_arch = "wasm32")'.dependencies.reqwest] version = "0.12.5" default-features = false [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"