Skip to content

Commit

Permalink
ci: fix WASM testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 15, 2024
1 parent 583b49b commit 8ccd99a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 139 deletions.
131 changes: 0 additions & 131 deletions Cargo.lock

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

8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ commit_verify = { version = "0.11.0-beta.6", path = "./commit_verify", default-f
single_use_seals = { version = "0.11.0-beta.6", path = "./single_use_seals" }
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"

[features]
default = ["derive"]
all = ["serde", "rand", "async", "stl"]
Expand Down
8 changes: 0 additions & 8 deletions commit_verify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,5 @@ serde = ["serde_crate", "amplify/serde"]
stl = ["strict_types/armor"]
derive = []

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"

[package.metadata.docs.rs]
features = ["all"]

0 comments on commit 8ccd99a

Please sign in to comment.