chore: use released svm-rs / svm-builds-rs

This commit is contained in:
Georgios Konstantopoulos 2022-06-14 13:58:38 +03:00
parent ae63b57106
commit 792324a454
2 changed files with 7 additions and 7 deletions

8
Cargo.lock generated
View File

@ -3665,8 +3665,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
[[package]]
name = "svm-rs"
version = "0.2.9"
source = "git+https://github.com/roynalnaruto/svm-rs#1eb7f4e2ccb549096885ded598f6c05b2d96dccf"
version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "462a64764fb3e8f26469f1c84e30240405f8a641b633b6e2b3d8c83e73f6f67a"
dependencies = [
"anyhow",
"cfg-if 1.0.0",
@ -3695,7 +3696,8 @@ dependencies = [
[[package]]
name = "svm-rs-builds"
version = "0.1.0"
source = "git+https://github.com/roynalnaruto/svm-rs#1eb7f4e2ccb549096885ded598f6c05b2d96dccf"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3cbd0d97b618011e8529b8a1ec27b1be4e2fef6030ffa557e00b0a430e2dfde"
dependencies = [
"build_const",
"hex",

View File

@ -43,10 +43,8 @@ cfg-if = "1.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
home = "0.5.3"
# SVM is not WASM compatible yet.
# svm = { package = "svm-rs", default-features = false, version = "0.2.7", optional = true }
svm = { package = "svm-rs", version = "0.2.9", default-features = false, git = "https://github.com/roynalnaruto/svm-rs", optional = true, features = ["blocking"] }
svm-builds = { package = "svm-rs-builds", version = "0.1.0", git = "https://github.com/roynalnaruto/svm-rs", optional = true}
svm = { package = "svm-rs", version = "0.2.10", default-features = false, optional = true, features = ["blocking"] }
svm-builds = { package = "svm-rs-builds", version = "0.1.0", optional = true}
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly