mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-02 13:54:32 +01:00
55 lines
1.3 KiB
TOML
55 lines
1.3 KiB
TOML
[package]
|
|
name = "pubky"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
description = "Pubky core client"
|
|
license = "MIT"
|
|
repository = "https://github.com/pubky/pubky"
|
|
keywords = ["web", "dht", "dns", "decentralized", "identity"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
thiserror = "1.0.62"
|
|
wasm-bindgen = "0.2.92"
|
|
url = "2.5.2"
|
|
bytes = "^1.7.1"
|
|
base64 = "0.22.1"
|
|
|
|
pkarr = { workspace = true }
|
|
pubky-common = { version = "0.1.0", path = "../pubky-common" }
|
|
cookie = "0.18.1"
|
|
tracing = "0.1.40"
|
|
cookie_store = { version = "0.21.1", default-features = false }
|
|
anyhow = "1.0.93"
|
|
|
|
# Native dependencies
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
reqwest = { version = "0.12.5", features = ["cookies", "rustls-tls"], default-features = false }
|
|
tokio = { version = "1.37.0", features = ["full"] }
|
|
|
|
# Wasm dependencies
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
reqwest = { version = "0.12.5", default-features = false }
|
|
futures-lite = { version = "2.5.0", default-features = false }
|
|
wasm-bindgen = "0.2.92"
|
|
wasm-bindgen-futures = "0.4.42"
|
|
|
|
js-sys = "0.3.69"
|
|
web-sys = "0.3.70"
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1.0.93"
|
|
pubky-homeserver = { path = "../pubky-homeserver" }
|
|
tokio = "1.37.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ['-g', '-O']
|
|
|
|
# [lints.clippy]
|
|
unwrap_used = "deny"
|