pkg/encoding/toml: add new builtin package for encoding/toml
With just Marshal and Unmarshal for now; validation APIs will follow,
as their semantics don't seem consistent between json and yaml.
Leave a TODO to come back to the validation APIs as well.
We add some txtar tests as well, driven by pkg/internal/builtintest.
Fixes #3344.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I5cd4c01ab39daa4a208afcd8c3303f5f8d4ef512
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201474
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>