fix: specify home-dep as non-wasm instead of x86-only
@@ -35,9 +35,11 @@ tracing = "0.1.29"
sha2 = { version = "0.9.8", default-features = false }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
-home = "0.5.3"
sha2 = { version = "0.9.8", default-features = false, features = ["asm"] }
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
+home = "0.5.3"
+
[target.'cfg(target_arch = "wasm32")'.dependencies]
# NOTE: this enables wasm compatibility for getrandom indirectly
getrandom = { version = "0.2", features = ["js"] }
