[package] name = "spiral-rs-js-bridge" description = "Bridge crate between the spiral-rs-client library and the JS client" version = "0.2.0" authors = ["Samir Menon "] license = "MIT" repository = "https://github.com/blyssprivacy/sdk" categories = ["wasm"] readme = "README.md" edition = "2018" rust-version = "1.70.0" [lib] crate-type = ["cdylib", "rlib"] [dependencies] wasm-bindgen = "0.2.83" spiral-rs = { path = "../../lib/spiral-rs" } doublepir-rs = { path = "../../lib/doublepir" } serde_json = "1.0.91" sha2 = "0.10" sha1 = "0.10.5" js-sys = { version = "0.3" } wasm-bindgen-futures = "0.4.34" console_error_panic_hook = "0.1.7" getrandom = { version = "0.2", features = ["js"] } [dependencies.web-sys] version = "0.3" features = [ "console" ] [dev-dependencies] wasm-bindgen-test = "0.2.45" futures = "0.1.27" [profile.release] opt-level = "s" panic="unwind" # lto = "fat" # codegen-units = 1 # panic = "abort"