Skip to content

Commit

Permalink
Fixes a compilation error for wasm targets. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-agha authored Aug 6, 2021
1 parent 843054d commit 6b4b544
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ serde_json = "1"
sha3 = "0.9"
strum_macros = "0.21"

[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2.3", features = ["js"]}

[dev-dependencies]
evmodin-test = { path = ".", package = "evmodin", features = ["util"] }
hex-literal = "0.3"
Expand Down

0 comments on commit 6b4b544

Please sign in to comment.