I'm experimenting with building Rust preview2 components. What's the current story around using wasi interfaces in my component wit's? I.e., I want to import wasi:io/streams
in my client crate, which would mean that wit-bindgen
needs to have access to these wits somewhere.
There's a tool called wit-deps which can help manage these. You create a wit/deps.toml file to tell it where to find the upstream wits.
In the future, interfaces like these will be published on a warg registry and the tools will be able to automatically query it.
Last updated: Nov 22 2024 at 17:03 UTC