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

Commit

Permalink
fix(solc): enable sha2 asm for checksum speed (#626)
Browse files Browse the repository at this point in the history
gakonst committed Nov 26, 2021
1 parent 0b68227 commit ca558b0
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion ethers-solc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -24,15 +24,19 @@ futures-util = { version = "0.3.18", optional = true }
once_cell = "1.8.0"
regex = "1.5.4"
md-5 = "0.9.1"
sha2 = "0.9.8"
thiserror = "1.0.30"
hex = "0.4.3"
colored = "2.0.0"
svm = { package = "svm-rs", version = "0.2.0", optional = true }
glob = "0.3.0"
tracing = "0.1.29"

[target.'cfg(target_arch = "wasm32")'.dependencies]
sha2 = { version = "0.9.8" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
home = "0.5.3"
sha2 = { version = "0.9.8", features = ["asm"] }

[dev-dependencies]
tokio = { version = "1.12.0", features = ["full"] }

0 comments on commit ca558b0

Please sign in to comment.