mirror of
https://github.com/plume-sig/zk-nullifier-sig.git
synced 2026-04-16 03:00:03 -04:00
* fix `zeroize` minimal version * fix `dev-dependencies` minimal versions * re-exports `rand` from `arkworks`
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "plume-sig"
|
|
version = "4.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"
|
|
serde = "*"
|
|
serde-wasm-bindgen = "*"
|
|
|
|
plume_rustcrypto = {version = "~0.2.1", default-features = false}
|
|
elliptic-curve = {version = "~0.13.8"}
|
|
zeroize = "1.8"
|
|
signature = "^2.2.0"
|
|
|
|
# due to "elliptic-curve v0.13.8" dependency the newer `getrandom` yields the confict
|
|
# getrandom = { version = "0.3", features = ["wasm_js"] }
|
|
# [target.wasm32-unknown-unknown]
|
|
# rustflags = ['--cfg', 'getrandom_backend="wasm_js"']
|
|
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"
|