fix: add default-run to sprout-relay so cargo run -p sprout-relay works#577
Merged
Conversation
…orks Since #569 added a second binary to the sprout-relay crate, `cargo run -p sprout-relay` fails because Cargo can't pick which binary to run. Setting `default-run = "sprout-relay"` fixes the `relay`, `relay-web`, and `relay-release` justfile recipes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Matt Toohey <contact@matttoohey.com>
tlongwell-block
added a commit
that referenced
this pull request
May 14, 2026
Pulls in 8 commits from origin/main: - 1858e98 fix(desktop): drive unread badges from live subscription, not refetched lastMessageAt (#581) - 9e76a08 fix(desktop): refine header scaling and shadow (#573) - b74ec95 fix(desktop): keep day dividers below header (#574) - aad564b Move agent activity below composer (#579) - bda98da docs(nips): NIP-AE — Agent Engrams (#575) - 1b87a09 refactor: extract shared @mention resolver into sprout-sdk (#580) - 2ee7356 fix: add default-run to sprout-relay so `cargo run -p sprout-relay` works (#577) - f0549b5 feat(desktop): channel hover state and right-click mark-unread context menu (#578) No conflicts. * origin/main: fix(desktop): drive unread badges from live subscription, not refetched lastMessageAt (#581) fix(desktop): refine header scaling and shadow (#573) fix(desktop): keep day dividers below header (#574) Move agent activity below composer (#579) docs(nips): NIP-AE — Agent Engrams (#575) refactor: extract shared @mention resolver into sprout-sdk (#580) fix: add default-run to sprout-relay so `cargo run -p sprout-relay` works (#577) feat(desktop): channel hover state and right-click mark-unread context menu (#578)
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.
Issue
What changed
PR #569 (9a403d3 — "channel member search via NIP-50 + Typesense indexer fix for kind:0") added a second binary sprout-reindex-kind0 to the sprout-relay crate. Before that commit, sprout-relay had a single [[bin]] target, so cargo run -p sprout-relay worked fine. Now Cargo can't pick which of the two binaries to run.
Changes
default-run = "sprout-relay"tocrates/sprout-relay/Cargo.tomlso thatcargo run -p sprout-relayworks without needing to specify--bin sprout-relay.Test plan
cargo clippy --workspace --all-targetspassescargo test -p sprout-core -p sprout-authpassescargo check --manifest-path desktop/src-tauri/Cargo.tomlpasses🤖 Generated with Claude Code