diff --git a/Cargo.lock b/Cargo.lock index 998ef2b..d22e6ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1121,6 +1121,7 @@ name = "rust_verkle_wasm" version = "0.1.0" dependencies = [ "ark-ff", + "ark-serialize", "console_error_panic_hook", "getrandom", "hex", diff --git a/bindings/Cargo.toml b/bindings/Cargo.toml index 9fc6e8f..96a5b5f 100644 --- a/bindings/Cargo.toml +++ b/bindings/Cargo.toml @@ -18,6 +18,8 @@ wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } verkle-trie = { git = "https://github.com/crate-crypto/rust-verkle", rev = "ee53141ae88fdd3c02ae85c72f027e1b0a6f60c0" } verkle-spec = { git = "https://github.com/crate-crypto/rust-verkle", rev = "ee53141ae88fdd3c02ae85c72f027e1b0a6f60c0" } ark-ff = "0.3.0" +ark-serialize = { version = "^0.3.0", default-features = false } + hex = "*" # This is needed so that we can enable the js feature, which is being used in ark-serialize # Without it, the wasm will not compile, since we cannot conditionally compile ark-serialize