https://crates.io/crates/warg-loader
PackageSource
trait implLocalSource
that treats a simple local directory structure as a registrywasi:
namespace to bytecodealliance.org
I also published the new wasmtime 0.2.0 adapter artifacts, which means this now works:
$ cargo install warg-loader
...
$ warg-loader wasi:preview1-command-adapter
Package: wasi:preview1-command-adapter
Versions:
0.2.0
$ warg-loader wasi:preview-command-adapter fetch 0.2.0
Fetching release details for wasi:preview1-command-adapter@0.2.0...
Downloading content to "wasi-preview1-command-adapter-0.2.0.wasm"...
Last updated: Dec 23 2024 at 13:07 UTC