Cargo.toml: disambiguate bin-target for cargo-leptos
Deploy / deploy (push) Successful in 1m13s

The new question_lint/backfill_events [[bin]] targets left cargo-leptos
unable to tell which of the three binaries is the actual app server -
broke the last two deploy runs ("Several bin targets found for member
portal"). bin-target = "portal" fixes it; confirmed locally that
`cargo leptos build` gets past config resolution now.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-08-06 08:57:58 +02:00
co-authored by Claude Sonnet 5
parent f6c5d8e05c
commit 8f0eead8da
+4
View File
@@ -121,6 +121,10 @@ codegen-units = 1
[package.metadata.leptos]
output-name = "portal"
# Disambiguates the app binary from the two utility [[bin]] targets
# (question_lint, backfill_events) added alongside it - cargo-leptos
# otherwise can't tell which of the three is "the" server.
bin-target = "portal"
site-root = "target/site"
site-pkg-dir = "pkg"
style-file = "style/main.css"