Is there any way to set dependency between 2 sub-projects in a workspaces?
⚓ Rust 📅 2025-11-30 👤 surdeus 👁️ 3I'm building a Tauri app which has a sidecar binary, so conceptually the Tauri app depends on another subproject's output.
The problem is, I cannot set this dependency in anywhere, the sidecar subproject is not a lib but an executable, so I cannot directly put it into the [dependencies] section of the main app.
Right now I've to write a build script to build the sidecar before building the main app, but it's too ad-hoc-ish, and it's a mess to re-implement all update-then-rebuild logic comprehensively.
Can anyone help to provide some idea about this?
2 posts - 2 participants
🏷️ Rust_feed