From 1718142ede119617ad09bb11e54390130a60a35c Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Mon, 15 Mar 2021 09:04:54 -0400 Subject: [PATCH] More todos in README --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2d8dc3d..9f3678a 100644 --- a/README.md +++ b/README.md @@ -4,18 +4,29 @@ Development branch. Probably does not work. [👉 Discussion on github](https://github.com/pelletier/go-toml/discussions/471). -## Todo +## Must do - [ ] Unmarshal into maps. - [ ] Attach comments to AST (gated by parser flag). - [ ] Abstract AST. -- [ ] Rewrite AST to use a single array as storage instead of one allocation - per node. +- [ ] Support Array Tables - [ ] Support Date / times. - [ ] Support Unmarshaler interface. - [ ] Support struct tags annotations. - [ ] Benchmark! +## Further work + +- [ ] Rewrite AST to use a single array as storage instead of one allocation per + node. +- [ ] Provide "minimal allocations" option that uses `unsafe` to reuse the input + byte array as storage for strings. + +## Ideas + +- [ ] Allow types to implement a `ASTUnmarshaler` interface to unmarshal + straight from the AST? + ## License The MIT License (MIT). Read [LICENSE](LICENSE).