golemcloud / golem

Golem is an open source durable computing platform that makes it easy to build and deploy highly reliable distributed systems.
https://learn.golem.cloud/
Apache License 2.0
532 stars 59 forks source link

Check if WASI deps can be now directly got from wa.dev by cargo-component #333

Open vigoo opened 8 months ago

vigoo commented 8 months ago

If it works, we need to update the golem-examples and the docs

vigoo commented 6 months ago

Not working with cargo-component 0.7.0, recheck after update:

[package.metadata.component.registries]
wasi = "https://wasi.wa.dev"

[package.metadata.component.target]
path = "wit"

[package.metadata.component.target.dependencies]
"wasi:sockets" = { version = "0.2.0", registry = "wasi" }
"wasi:io" = { version = "0.2.0", registry = "wasi" }
"wasi:clocks" = { version = "0.2.0", registry = "wasi" }