# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "nash-mpc" version = "1.2.4" authors = ["Robert Annessi ", "Ethan Fast "] description = "MPC wallet library providing threshold signatures for Nash exchange" keywords = ["nash", "cryptography", "threshold", "signature", "mpc"] license = "MIT" repository = "https://github.com/nash-io/nash-rust/mpc-wallet/nash-mpc" [lib] crate-type = ["cdylib", "rlib"] [[bench]] name = "client" harness = false [[bench]] name = "common" harness = false [[bench]] name = "server" harness = false [dependencies.chrono] version = "0.4" [dependencies.crossbeam-queue] version = "0.3" [dependencies.generic-array] version = "0.14" [dependencies.getrandom] version = "0.2" [dependencies.hex] version = "0.4" [dependencies.k256] version = "0.9" features = ["ecdsa"] optional = true [dependencies.lazy_static] version = "1.4" [dependencies.num-integer] version = "0.1" optional = true [dependencies.num-traits] version = "0.2" optional = true [dependencies.p256] version = "0.9" features = ["ecdsa"] [dependencies.paillier-common] version = "0.2" default-features = false [dependencies.rayon] version = "1.3" [dependencies.rust-bigint] version = "1.2" default-features = false [dependencies.secp256k1] version = "0.20" optional = true [dependencies.serde] version = "1.0" [dependencies.sha2] version = "0.9" [dependencies.subtle] version = "2.3" [dependencies.zeroize] version = "1.1" default-features = false [dev-dependencies.bincode] version = "1.1" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.serde_json] version = "1.0" [features] default = ["rust_gmp", "k256"] num_bigint = ["rust-bigint/num_bigint", "paillier-common/num_bigint", "num-integer", "num-traits"] rust_gmp = ["rust-bigint/rust_gmp", "paillier-common/rust_gmp"] wasm = ["chrono/wasmbind", "getrandom/js"]