Skip to content

Commit c861687

Browse files
lklimekclaude
andcommitted
revert: restore original Cargo.toml with path deps
Reverts all Cargo.toml and CI workflow changes. The feat/platform-wallet branch uses path deps for local development — CI will fail until rust-dashcore adds the missing `bls` feature to key-wallet-manager. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 96611d4 commit c861687

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

Cargo.toml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ qrcode = "0.14.1"
1818
nix = { version = "0.31.1", features = ["signal"] }
1919
eframe = { version = "0.33.3", features = ["persistence", "wgpu"] }
2020
base64 = "0.22.1"
21-
dash-sdk = { git = "https://github.com/dashpay/platform", branch = "backport/det-fixes-into-platform-wallet", features = [
21+
dash-sdk = { path = "../platform/packages/rs-sdk", features = [
2222
"core_key_wallet",
2323
"core_key_wallet_manager",
2424
"core_bincode",
@@ -28,8 +28,8 @@ dash-sdk = { git = "https://github.com/dashpay/platform", branch = "backport/det
2828
"core_spv",
2929
"shielded",
3030
] }
31-
platform-wallet = { git = "https://github.com/dashpay/platform", branch = "backport/det-fixes-into-platform-wallet" }
32-
rs-sdk-trusted-context-provider = { git = "https://github.com/dashpay/platform", branch = "backport/det-fixes-into-platform-wallet" }
31+
platform-wallet = { path = "../platform/packages/rs-platform-wallet" }
32+
rs-sdk-trusted-context-provider = { git = "https://github.com/dashpay/platform", rev = "a10190399d7033e7e56e3f756411e9a5dab87829" }
3333
zip32 = "0.2.0"
3434
grovestark = { git = "https://www.github.com/dashpay/grovestark", rev = "5b9e289cca54c79b1305d5f4f40bf1148f1eb0e3" }
3535
rayon = "1.8"
@@ -141,4 +141,19 @@ check-cfg = ["cfg(tokio_unstable)", "cfg(feature, values(\"testing\", \"mcp\", \
141141
[lints.clippy]
142142
uninlined_format_args = "allow"
143143

144+
# Override the git dashcore crates with local versions (since the platform
145+
# workspace uses `git = "https://github.com/dashpay/rust-dashcore"` for its
146+
# dashcore deps and we have local changes in rust-dashcore).
147+
[patch."https://github.com/dashpay/rust-dashcore"]
148+
dashcore = { path = "../rust-dashcore/dash" }
149+
dash-spv = { path = "../rust-dashcore/dash-spv" }
150+
key-wallet = { path = "../rust-dashcore/key-wallet" }
151+
key-wallet-manager = { path = "../rust-dashcore/key-wallet-manager" }
152+
dashcore-rpc = { path = "../rust-dashcore/rpc-client" }
153+
dashcore-rpc-json = { path = "../rust-dashcore/rpc-json" }
154+
155+
# dashcore_hashes is published on crates.io but we need the local version
156+
# to match our local dashcore changes.
157+
[patch.crates-io]
158+
dashcore_hashes = { path = "../rust-dashcore/hashes" }
144159

0 commit comments

Comments
 (0)