Files
sdk/js/bridge/Cargo.toml
Neil Movva 7740f75ec2 [BLY-64] Python Spiral v1, and docs
Python client: use spiral v1, add basic docs
Unify client versions at 0.2.0
Add min rustc version to all crates
2023-08-29 13:19:27 -07:00

42 lines
942 B
TOML

[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 <samir@blyss.dev>"]
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"