Add toml markup for Platform struct
Addresses issue #1073 to add toml markup for Platform struct
ping on this PR
(soft) NACK; https://github.com/opencontainers/image-spec/issues/1073#issuecomment-1588238252 (see also https://github.com/pelletier/go-toml/issues/880)
(Soft because I'm still willing to be convinced, but I think we need more spec maintainer opinions to be expressed for this to really move one way or the other)
This gets a decline from me as well unless there's a response to https://github.com/opencontainers/image-spec/issues/1073#issuecomment-1589550392 showing why it's needed.
This was brought up in today's meeting (cleaning up old PRs) and the decision was to defer to the TOML default parsing of the struct, or to have the containerd specific requirements happen outside of the OCI spec. Our use of JSON aligns with the rest of the spec that marshals the data into JSON for the descriptors and config blob content. So without a TOML use case here, it didn't make sense to add into OCI directly.