mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-22 15:34:21 +01:00
64 lines
1.8 KiB
TOML
64 lines
1.8 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"]
|
|
categories = ["network-programming", "cryptography", "web-programming", "authentication"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
thiserror = "2.0.11"
|
|
wasm-bindgen = "0.2.100"
|
|
url = "2.5.4"
|
|
bytes = "^1.10.0"
|
|
base64 = "0.22.1"
|
|
|
|
pkarr = { version = "3.1.1", features = ["full"] }
|
|
cookie = "0.18.1"
|
|
tracing = "0.1.41"
|
|
cookie_store = { version = "0.21.1", default-features = false }
|
|
anyhow = "1.0.95"
|
|
flume = { version = "0.11.1", default-features = false, features = ["async"] }
|
|
futures-util = "0.3.31"
|
|
pubky-common = "0.3.0"
|
|
|
|
# Native dependencies
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
reqwest = { version = "0.12.12", features = ["cookies", "rustls-tls"], default-features = false }
|
|
tokio = { version = "1.43.0", features = ["full"] }
|
|
|
|
# Wasm dependencies
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
getrandom = { version = "0.3.1", features = ["wasm_js"] }
|
|
getrandom2 = { version = "0.2.15", package = "getrandom", features = ["js"] }
|
|
reqwest = { version = "0.12.12", default-features = false }
|
|
futures-lite = { version = "2.6.0", default-features = false }
|
|
wasm-bindgen = "0.2.100"
|
|
wasm-bindgen-futures = "0.4.50"
|
|
console_log = { version = "1.0.0", features = ["color"] }
|
|
log = "0.4.25"
|
|
|
|
js-sys = "0.3.77"
|
|
web-sys = "0.3.77"
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1.0.95"
|
|
futures-lite = "2.6.0"
|
|
pubky-testnet = { path = "../pubky-testnet" }
|
|
tokio = "1.43.0"
|
|
tracing-subscriber = "0.3.19"
|
|
|
|
[build-dependencies]
|
|
cfg_aliases = "0.2.1"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ['-g', '-O']
|