Skip to content

How to describe a dependency on a world defined the same (wit) package but implemented in a separate (cargo) workspace package #337

@estk

Description

@estk

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" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions