mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-03 22:34:21 +01:00
53 lines
1.1 KiB
TOML
53 lines
1.1 KiB
TOML
[package]
|
|
name = "pubky"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Pubky client"
|
|
license = "MIT"
|
|
repository = "https://github.com/pubky/pubky"
|
|
keywords = ["web", "dht", "dns", "decentralized", "identity"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
pkarr = "2.1.0"
|
|
thiserror = "1.0.62"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
pubky-common = { version = "0.1.0", path = "../pubky-common" }
|
|
|
|
ureq = { version = "2.10.0", features = ["cookies"] }
|
|
url = "2.5.2"
|
|
flume = { version = "0.11.0", features = ["select", "eventual-fairness"], default-features = false }
|
|
bytes = "1.6.1"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
futures = "0.3.29"
|
|
js-sys = "0.3.69"
|
|
wasm-bindgen = "0.2.92"
|
|
wasm-bindgen-futures = "0.4.42"
|
|
web-sys = { version = "0.3.69", features = [
|
|
"console",
|
|
"Request",
|
|
"RequestInit",
|
|
"RequestMode",
|
|
"Response",
|
|
"Window",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
pubky_homeserver = { path = "../pubky-homeserver" }
|
|
tokio = "1.37.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
wasm-bindgen-test = "0.3.42"
|
|
|
|
[features]
|
|
async = ["flume/async"]
|
|
|
|
default = ["async"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|