bazelbuild / starlark

Starlark Language
Apache License 2.0
2.44k stars 163 forks source link

Support `toml` marshall/unmarshall #254

Closed aignas closed 1 year ago

aignas commented 1 year ago

For the same reasons that #219. Python and Rust use toml as the format to store metadata and having native implementation to encode and decode such files could potentially lead to easier implementation of bzlmod extensions and/or repository rules, where we would need to read a Cargo.toml or pyproject.toml or a poetry or pdm lockfile to construct valid bazel targets.

stepancheg commented 1 year ago

This is the repo about starlark specification, not one of several starlark implementations.

I think TOML does not belong to the common starlark spec.