It's a bit awkward to have to build the manifest map as a literal. We could perhaps have some small builder functions that help construct the manifest. Something like:
# instead of:
url = "https://github.com/extism/plugins/releases/latest/download/count_vowels.wasm"
manifest = %{wasm: [%{url: url}]}
# you have
manifest = Extism.Manifest.from_url(url)
This would be an addition to the API so doesn't need to go in by 1.0, but would be nice to have.
It's a bit awkward to have to build the manifest map as a literal. We could perhaps have some small builder functions that help construct the manifest. Something like:
This would be an addition to the API so doesn't need to go in by 1.0, but would be nice to have.