Skip to content

Commit

Permalink
Fix jsonrpsee web features (#1025)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv authored Jun 23, 2023
1 parent 2a990ed commit 95c9bce
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 79 deletions.
106 changes: 31 additions & 75 deletions examples/wasm-example/Cargo.lock

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

2 changes: 1 addition & 1 deletion examples/wasm-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
futures = "0.3.28"
subxt = { path = "../../subxt", default-features = false, features = ["jsonrpsee-web"], target_arch = "wasm32" }
subxt = { path = "../../subxt", default-features = false, features = ["jsonrpsee", "web"], target_arch = "wasm32" }
yew = {version = "0.20.0", features = ["csr"] }
web-sys = "0.3.63"
hex = "0.4.3"
4 changes: 2 additions & 2 deletions testing/wasm-tests/Cargo.lock

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

2 changes: 1 addition & 1 deletion testing/wasm-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ console_error_panic_hook = "0.1.7"
serde_json = "1"

# This crate is not a part of the workspace, because it
# requires the "jsonrpsee-web" feature to be enabled, which we don't
# requires the "jsonrpsee web" features to be enabled, which we don't
# want enabled for workspace builds in general.
subxt = { path = "../../subxt", default-features = false, features = ["web", "jsonrpsee"] }

0 comments on commit 95c9bce

Please sign in to comment.