Files
CustosPublic/crates/custos-wasm/Cargo.toml
T

28 lines
959 B
TOML

[package]
name = "custos-wasm"
description = "Custos in the browser: the web vault's and the share page's crypto, compiled to WebAssembly"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
custos-vault = { path = "../custos-vault" }
custos-share = { path = "../custos-share" }
custos-totp = { path = "../custos-totp" }
custos-qr = { path = "../custos-qr" }
custos-seal = { path = "../custos-seal" }
serde.workspace = true
serde_json.workspace = true
data-encoding.workspace = true
zeroize.workspace = true
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = "0.4"
# rand_core 0.6 (custos-sign, through custos-vault) uses getrandom 0.2: the same browser CSPRNG (lib.rs, `fill_v02`).
getrandom02 = { package = "getrandom", version = "0.2", features = ["custom"] }