From 19dda00c175f450eeb0b8fb6c4ab509caa57f038 Mon Sep 17 00:00:00 2001 From: mathieu Date: Sat, 16 May 2026 01:57:26 +0200 Subject: [PATCH] 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 --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index d482afa..990945e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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)