rln/Cargo.toml

38 lines
1.1 KiB
TOML
Raw Normal View History

2020-04-23 17:55:24 +00:00
[package]
name = "rln"
version = "0.1.0"
2020-06-04 17:59:02 +00:00
authors = ["Onur Kılıç <kiliconu@itu.edu.tr>"]
2020-04-23 17:55:24 +00:00
edition = "2018"
2020-06-04 17:59:02 +00:00
[lib]
crate-type = ["cdylib", "rlib"]
2020-06-07 15:36:18 +00:00
[features]
2020-06-13 19:39:33 +00:00
multicore = ["sapling-crypto/multicore", "bellman/multicore"]
wasm = ["sapling-crypto/wasm", "bellman/wasm", "bellman/nolog"]
2020-10-01 10:10:18 +00:00
bench = []
2020-06-07 15:36:18 +00:00
2020-04-23 17:55:24 +00:00
[dependencies]
rand = "0.4"
blake2 = "0.8.1"
2020-10-28 16:13:32 +00:00
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 }
2020-06-04 17:59:02 +00:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
2020-10-28 16:13:32 +00:00
hex = "0.4"
2020-06-04 17:59:02 +00:00
console_error_panic_hook = { version = "0.1.1" }
2020-10-28 16:13:32 +00:00
wasm-bindgen = "=0.2.60"
# wee_alloc = "0.4.5"
2020-06-13 19:39:33 +00:00
web-sys = {version = "0.3", features = ["console", "Performance", "Window"]}
2020-10-28 16:13:32 +00:00
js-sys = "0.3.37"
2020-06-04 17:59:02 +00:00
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
2020-10-28 16:13:32 +00:00
wasm-bindgen-test = "0.3"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = 3