Skip to content

fix: add default-run to sprout-relay so cargo run -p sprout-relay works#577

Merged
wesbillman merged 1 commit into
mainfrom
fix-just-relay
May 14, 2026
Merged

fix: add default-run to sprout-relay so cargo run -p sprout-relay works#577
wesbillman merged 1 commit into
mainfrom
fix-just-relay

Conversation

@matt2e
Copy link
Copy Markdown
Collaborator

@matt2e matt2e commented May 14, 2026

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

  • Adds default-run = "sprout-relay" to crates/sprout-relay/Cargo.toml so that cargo run -p sprout-relay works without needing to specify --bin sprout-relay.

Test plan

  • cargo clippy --workspace --all-targets passes
  • cargo test -p sprout-core -p sprout-auth passes
  • cargo check --manifest-path desktop/src-tauri/Cargo.toml passes

🤖 Generated with Claude Code

…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>
@matt2e matt2e requested a review from wesbillman as a code owner May 14, 2026 04:10
@wesbillman wesbillman merged commit 2ee7356 into main May 14, 2026
15 checks passed
@wesbillman wesbillman deleted the fix-just-relay branch May 14, 2026 15:34
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants