From 015e3823e95b62237afbcfa055491234b607dd16 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Tue, 25 Feb 2025 14:49:19 +0000 Subject: [PATCH] Update Serialization --- Serialization.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Serialization.md b/Serialization.md index ca6aae8..44141de 100644 --- a/Serialization.md +++ b/Serialization.md @@ -39,6 +39,10 @@ We want a format which is: Package manifests in [Julia](https://pkgdocs.julialang.org/v1/toml-files/), [Python](https://packaging.python.org/en/latest/tutorials/packaging-projects/#configuring-metadata), and [Rust](https://doc.rust-lang.org/cargo/reference/manifest.html) are all written in TOML. +## Serious candidates +* TOML -- but we have cautions below that it looks good at first, then breaks down as you get more complicated +* StrictYAML - it seems that with all its drawbacks, YAML is not a candidate. But StrictYAML is a subset that might be palatable; and perhaps Serde already produces StrictYAML or can easily be adapted to. Also, StrictYAML optionally uses a schema for reading, which might be sensible in our use case. + ## Comparison ### Table