Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykhoyda committed Jan 8, 2025
1 parent 1aaef36 commit 94b4f49
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ byte-unit = { version = "5.1.4", features = ["byte"] }

[patch.crates-io]

[workspace.lints.clippy]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen)', 'cfg(wasm_bindgen_unstable_test_coverage)'] }


#[patch.'https://github.com/chainsafe/librustzcash']
#zcash_address = { path = "../librustzcash/components/zcash_address" }
#zcash_client_backend = { path = "../librustzcash/zcash_client_backend" }
Expand Down
3 changes: 3 additions & 0 deletions crates/webz-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ zcash_address.workspace = true
thiserror.workspace = true
wasm-bindgen.workspace = true
js-sys.workspace = true

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/webz-keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ bip0039.workspace = true

# fixes "failed to resolve: use of undeclared crate or module `imp`" error
getrandom = { version = "0.2", features = ["js"] }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions crates/webz-requests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ serde-wasm-bindgen.workspace = true

# fixes "failed to resolve: use of undeclared crate or module `imp`" error
getrandom = { version = "0.2", features = ["js"] }

[lints]
workspace = true
5 changes: 4 additions & 1 deletion crates/webz-wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,7 @@ wasm_sync = "0.1.2"
http = { version = "1.1.0", default-features = false }
serde.workspace = true
postcard = { version = "1.0.10", features = ["alloc"] }
serde-wasm-bindgen.workspace = true
serde-wasm-bindgen.workspace = true

[lints]
workspace = true

0 comments on commit 94b4f49

Please sign in to comment.