In addition to adding required fields to Cargo.toml, we'll need to remove any git dependencies:
wasi-experimental-http just needs to be pointed at the published crate (does that crate need an update?)
wit-bindgen-* aren't published, so we have a few options:
- publish our own forks, e.g.
spin-wit-bindgen-*
- vendor what we need into the crate (I don't know how hard this is with publishing crates?)
- statically generate the bindings with
wit-bindgen; this feels best to me, but would require changes to the sdk macro(s)
In addition to adding required fields to
Cargo.toml, we'll need to remove anygitdependencies:wasi-experimental-httpjust needs to be pointed at the published crate (does that crate need an update?)wit-bindgen-*aren't published, so we have a few options:spin-wit-bindgen-*wit-bindgen; this feels best to me, but would require changes to the sdk macro(s)