Replies: 5 comments 35 replies
|
In my opinion, the format/encoding we choose needs to
JSON and protobuf can both meet these requirements.
|
|
Where will the metadata be stored? |
|
In terms of the fields we need to store, it would make sense to include some common subset of typical This suggests some questions to explore like
|
|
Cargo's approach to license metadata seems good to me: https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
|
MetadataTo summarize what we have discussed above. Place the content in a WebAssembly custom section called
Do we want to restrict the categories somehow to not allow anything to be put into the category? Do we want to use any compression algorithm on the metadata? If so which one Gzip, Brotli, zstd, LZ4? I was planning on creating a library that can read and add the registry metadata to the wasm-tools repository similar to what has been done with the wasm-metadata crate. Is this what we want? |
Uh oh!
There was an error while loading. Please reload this page.
There are two related questions about registry metadata we need to answer:
All reactions