fix(config): add bin-target to avoid cargo-leptos/seed binary conflict
Without bin-target, cargo-leptos fails when multiple binaries exist (rust-ipam + seed). Specifying the main server binary fixes the issue. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -93,6 +93,7 @@ site-addr = "127.0.0.1:3000" # Adresse d'écoute du serveur Axum
|
||||
reload-port = 3001 # Port WebSocket pour le hot-reload en développement
|
||||
style-file = "style/rust-ipam.css" # Source CSS compilé dans pkg/rust-ipam.css
|
||||
# Features activées par cargo-leptos lors du build
|
||||
bin-target = "rust-ipam" # Main server binary (excludes src/bin/seed.rs)
|
||||
bin-features = ["ssr"] # SSR binary (Axum server)
|
||||
lib-features = ["hydrate"] # WASM bundle (browser)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user