cargo-component icon indicating copy to clipboard operation
cargo-component copied to clipboard

Could cargo-component auto-compose components?

Open alexcrichton opened this issue 1 year ago • 5 comments

Currently if I add a [package.metadata.component.dependencies] section to a component with path = '...' the final output of cargo component build has an import of an instance. Could it be possible to automatically run wasm-tools compose or the equivalent thereof to have the final component bundled in the artifact?

Naively I thought this already happened, so I figure that an option, even if off-by-default, might be good to have

alexcrichton avatar Sep 05 '23 16:09 alexcrichton