mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-30 08:36:14 +00:00
59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
|
[package]
|
|||
|
name = "rln"
|
|||
|
version = "0.1.0"
|
|||
|
authors = ["Onur Kılıç <kiliconu@itu.edu.tr>"]
|
|||
|
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]
|
|||
|
opt-level = 3
|
|||
|
lto = "thin"
|
|||
|
incremental = true
|
|||
|
|
|||
|
# build all our deps in release mode
|
|||
|
[profile.dev.package."*"]
|
|||
|
opt-level = 3
|
|||
|
|
|||
|
[profile.bench]
|
|||
|
opt-level = 3
|
|||
|
debug = false
|
|||
|
rpath = false
|
|||
|
lto = "thin"
|
|||
|
incremental = true
|
|||
|
debug-assertions = false
|
|||
|
|
|||
|
|
|||
|
[profile.test]
|
|||
|
opt-level = 3
|
|||
|
incremental = true
|
|||
|
debug-assertions = true
|
|||
|
debug = true
|
|||
|
|
|||
|
|