[package] name = "rln" version = "0.1.0" authors = ["Onur Kılıç "] edition = "2018" [lib] crate-type = ["cdylib", "rlib"] [features] multicore = ["sapling-crypto/multicore", "bellman/multicore"] wasm = ["sapling-crypto/wasm", "bellman/wasm", "bellman/nolog"] bench = [] [dependencies] rand = "0.4" blake2 = "0.8.1" sapling-crypto = { package = "sapling-crypto_ce", version = "0.1.3", default-features = false } # sapling-crypto = {package = "sapling-crypto_ce", path = "../sapling-crypto", default-features = false } bellman = { package = "bellman_ce", version = "0.3.4", default-features = false } # bellman = {package = "bellman_ce", path = "../bellman", default-features = false } [target.'cfg(target_arch = "wasm32")'.dependencies] hex = "0.4" console_error_panic_hook = { version = "0.1.1" } wasm-bindgen = "=0.2.60" # wee_alloc = "0.4.5" web-sys = {version = "0.3", features = ["console", "Performance", "Window"]} js-sys = "0.3.37" [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3" [profile.release] # Tell `rustc` to optimize for small code size. opt-level = 3