bytecodealliance / bytecodealliance/cargo-component
How to describe a dependency on a world defined the same (wit) package but implemented in a separate (cargo) workspace package
Open
- Dominant language
- Rust
- Stars
- 593
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Heres an example of what ive tried.
```
[package.metadata.component]
package = "hotswap:salutation"
[package.metadata.component.target]
path = "../../wit/salutation"
world = "app"
[package.metadata.component.target.dependencies]
"hotswap:salutation" = { path = "../../wit/salutation", world = "user" }
```
```
Error: failed to deserialize component metadata from ...
Caused by:\n unknown field `world`, expected one of `path`, `package`, `version`, `registry`\n" }
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.