wit-component 0.246.2

Tooling for working with `*.wit` and component files together.
Documentation
package foo:foo;

interface shared-items {
  enum the-enum {
    a
  }
}

world w1 {
  import foo: interface {
    use shared-items.{the-enum};
  }
  import bar: interface {
    use shared-items.{the-enum};
  }
}

world w2 {
  import foo: interface {
    use shared-items.{the-enum};
  }
  export bar: interface {
    use shared-items.{the-enum};
  }
}

world w3 {
  export bar: interface {
    use shared-items.{the-enum};
  }
}