aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2022-05-03 07:59:24 +0200
committerNicholas Rodrigues Lordello <[email protected]>2022-05-03 07:59:24 +0200
commit2cf5f650b8fdbd1992f3d65ad6e102087e74f896 (patch)
tree7c501fcd82b33a6203cb6b55c4820d698c1d83e5 /Cargo.toml
parent1c13a451bc2e56ce8531d5da683a3c7aa6d4d887 (diff)
Use Rust Secp256k1 implementation from RustCrypto project (#92)
This PR ports `hdwallet` to use the `k256` crate - a native Rust implementation of secp256k1 elliptic curve and ECDSA signing. The motivation for this change is that we can just use the `wasm32-wasi` Rust target without requiring a WASI C toolchain! Notice that the CI no longer requires installing the WASI SDK in order to build the WASI target.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e2eb52e..45dbbf5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "hdwallet"
-version = "0.1.1"
+version = "0.2.0"
authors = ["Nicholas Rodrigues Lordello <[email protected]>"]
edition = "2021"
description = "Ethereum hierarchical deterministic wallet implementation"
@@ -15,8 +15,8 @@ clap = { version = "3", features = ["derive", "env"] }
ethnum = "1"
hex = "0.4"
hmac = { version = "0.12", features = ["std"] }
+k256 = "0.10"
pbkdf2 = { version = "0.11", default-features = false }
-secp256k1 = { version = "0.22", features = ["recovery"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"