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 <[email protected]>
  • Loading branch information
lexnv authored and tadeohepperle committed Jul 4, 2023
1 parent 106138a commit f9f8efd
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 f9f8efd

Please sign in to comment.