Repository navigation
CLI: Add cli crate into workspace - #280
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the cli crate to the Rust workspace so it participates in normal workspace builds/lints and is represented in dependency resolution/locking.
Changes:
- Registers
cli/as a workspace member in the rootCargo.toml. - Updates
Cargo.lockto include the CLI crate and its resolved dependency graph (including Solana CLI-related crates and transitive deps).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Adds cli to [workspace].members so it is built/linted/tested as part of the workspace. |
| Cargo.lock | Locks the newly included CLI crate and updates resolved dependency versions accordingly. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
aoikurokawa
marked this pull request as ready for review
August 8, 2026 00:19
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ebatsell
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test
cargo r -p jito-restaking-cli -- restaking operator list-operator-vault-ticket GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6 Compiling jito-restaking-cli v1.0.1 (/Users/aoikurokawa/dev/restaking/cli) Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.18s Running `target/debug/jito-restaking-cli restaking operator list-operator-vault-ticket GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6` [2026-08-08T00:32:02Z INFO jito_restaking_cli] jito_restaking_client::generated::accounts::operator_vault_ticket::OperatorVaultTicket at 99K1ANsju78kqUsmZc1TbXJpci9ckKeWmQCbe2kpts9D [2026-08-08T00:32:02Z INFO jito_restaking_cli] Operator Vault Ticket Account ━━━ Basic Information ━━━ Operator: GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6 Vault: HR1ANmDHjaEhknvsTaK48M5xZtbBiwNdXM5NTiWhAb4S Index: 6 Bump: 255 ━━━ State ━━━ Opt-In Added: 437872147 Opt-In Removed: 437872116 [2026-08-08T00:32:02Z INFO jito_restaking_cli] jito_restaking_client::generated::accounts::operator_vault_ticket::OperatorVaultTicket at 9xHEcTmVcbqKY9LRQbiSicpP5sEUVw1AanFrznqPmiyb [2026-08-08T00:32:02Z INFO jito_restaking_cli] Operator Vault Ticket Account ━━━ Basic Information ━━━ Operator: GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6 Vault: ABsoYTwRPBJEf55G7N8hVw7tQnDKBA6GkZCKBVrjTTcf Index: 3 Bump: 255 ━━━ State ━━━ Opt-In Added: 437871777 Opt-In Removed: 437871745 [2026-08-08T00:32:02Z INFO jito_restaking_cli] jito_restaking_client::generated::accounts::operator_vault_ticket::OperatorVaultTicket at Ezx9d2GKq9M3p53NbX2QMoKBqjqD69x6THHE9WAfdx6S [2026-08-08T00:32:02Z INFO jito_restaking_cli] Operator Vault Ticket Account ━━━ Basic Information ━━━ Operator: GmWQyzNGzMGQySvNCADu9pynAQfUjQm6tJL9cuN5Y3D6 Vault: AKkqZwemKgFJG86FYQmmS8f8TVDqjfd56b2LYdSZLAPF Index: 5 Bump: 255 ━━━ State ━━━ Opt-In Added: 437872001 Opt-In Removed: 437871971