[package]
name = "spotlib"
version = "0.1.1"
description = "Client for the Spot secure messaging network: end-to-end encrypted messaging over websocket connections"
keywords = ["spot", "messaging", "e2ee", "websocket"]
categories = ["network-programming", "cryptography"]
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
[features]
default = ["native"]
native = []
[dependencies]
spotproto = { version = "0.1.1", path = "../spotproto" }
bottlers.workspace = true
purecrypto.workspace = true
rsurl.workspace = true
ciborium.workspace = true
serde_json.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
futures-channel = { version = "0.3", features = ["std"] }
futures-util = { version = "0.3", default-features = false, features = ["std"] }
gloo-timers = { version = "0.3", features = ["futures"] }