-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathCargo.toml
34 lines (28 loc) · 933 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "plume-sig"
version = "3.0.0"
authors = ["skaunov"]
edition = "2018"
keywords = ["nullifier", "zero-knowledge", "ECDSA", "PLUME"]
repository = "https://github.com/plume-sig/zk-nullifier-sig/"
description = "wrapper around `plume_rustcrypto` crate to produce PLUME signatures in JS contexts using Wasm"
license = "MIT"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
verify = ["dep:sec1"]
[dependencies]
wasm-bindgen = "~0.2.84"
js-sys = "0.3"
plume_rustcrypto = {version = "~0.2.1", default-features = false}
elliptic-curve = {version = "~0.13.8"}
zeroize = "1.8"
signature = "^2.2.0"
getrandom = { version = "0.2", features = ["js"] }
anyhow = "1"
sec1 = {version = "~0.7.3", optional = true} # match with `k256`
[dev-dependencies]
wasm-bindgen-test = "~0.3.34"
[profile.release] # This comes from template; docs doesn't tell much about it.
# Tell `rustc` to optimize for small code size.
# opt-level = "s"