burtonageo/cargo-bundle

Support Virtual Workspaces (Bundling Multiple Binaries in One Installer)

joelonsql opened this issue · 0 comments

Idea

Allow configuration of cargo-bundle directly within the top-level Cargo.toml of virtual workspaces1. By recognizing and bundling all member crates based on a virtual workspace's top-level configuration, we can offer a streamlined developer experience.

Proposed Solution

Update the cargo-bundle configuration parser to detect virtual workspace settings and adjust the bundling logic to include all member crates accordingly.

Benefits

Simpler bundling process for projects with virtual workspaces, enhancing consistency in Rust tooling.

Footnotes

  1. These are defined by a top-level Cargo.toml containing only a [workspace] section without a [package] section.