cargo-component
cargo-component copied to clipboard
Could cargo-component auto-compose components?
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