Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Changed rust-crypto to rust-crypto-wasm #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jazzandrock
Copy link

franklin-crypto depends on rust-crypto, which in turn depends on rust-serialize, which is deprecated, and can't be compiled into wasm. There is a pull request in rust-crypto which removes the dependency, but since no one maintains the project for years, it doesn't get merged. This is the fork from which the pull request was created: https://github.com/buttercup/rust-crypto-wasm. I changed our dependency to it.

@jazzandrock jazzandrock requested a review from shamatar November 7, 2019 18:30
@dvush
Copy link
Contributor

dvush commented Feb 3, 2020

I was able to compile franklin_crypto to wasm and use it as is.
Maybe this problem resolved itself somehow.

Also, why would you add wasm-bindgen to this library? It should be used in your dependency.

@shamatar
Copy link
Member

shamatar commented Feb 3, 2020

Similar issue was fixed in our public form of sapling-crypto some time ago. I think the whole rust-crypto package was removed and updated for specific hashes. It may be better to converge those two repos.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants