Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: exclude ethers-wasm from root workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Aug 23, 2021
1 parent 8810571 commit 7b9178b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ members = [
"ethers-middleware",
]

exclude = [
"examples/ethers-wasm",
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
Expand Down
2 changes: 1 addition & 1 deletion examples/ethers-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ macro_rules! log {

abigen!(
SimpleContract,
"./examples/contract_abi.json",
"./../contract_abi.json",
event_derives(serde::Deserialize, serde::Serialize)
);

Expand Down
2 changes: 1 addition & 1 deletion examples/ethers-wasm/tests/contract_with_abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ wasm_bindgen_test_configure!(run_in_browser);
// definition in human readable format
abigen!(
SimpleContract,
"./examples/contract_abi.json",
"../contract_abi.json",
event_derives(serde::Deserialize, serde::Serialize)
);

Expand Down

0 comments on commit 7b9178b

Please sign in to comment.