Skip to content

Commit 68a7566

Browse files
shumkovclaude
andcommitted
fix(rpc-json): disable key-wallet default features
rpc-json only needs key-wallet for type definitions and serde. Without default-features = false, it pulls in the manager module (tokio, rayon) which inflates WASM builds that depend on dashcore-rpc transitively. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 88eacdf commit 68a7566

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rpc-json/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde_with = "2.1.0"
2525
serde_repr = "0.1"
2626
hex = { version="0.4", features=["serde"]}
2727

28-
key-wallet = { path = "../key-wallet", features=["serde"] }
28+
key-wallet = { path = "../key-wallet", default-features = false, features=["std", "serde"] }
2929
dashcore = { path = "../dash", features=["secp-recovery", "rand-std", "signer", "serde"] }
3030

3131
bincode = { version = "2.0.1", features = ["serde"] }

0 commit comments

Comments
 (0)