OCamlPro / drom

drom is a wrapper over opam/dune in an attempt to provide a cargo-like user experience. It can be used to create full OCaml projects with sphinx and odoc documentation. It has specific knowledge of Github and will generate files for Github Actions CI and Github pages.

Home Page:https://ocamlpro.github.io/drom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with Toml library

lefessan opened this issue · comments

@zapashcanon There is a problem everytime the package.toml file is saved, a newline is added to every multi-line string field starting with """.

See https://github.com/OCamlPro/freeton-ocaml-sdk/blob/e647f5740ac995ba92a844280fcb8f5ba8cba57f/src/ft_lib/package.toml#L58 for example.

This problem was not there before the last change in the Toml library.

@lefessan can you test with the master branch of toml ? IIRC the problem was in the code you wrote for the multi-line support and I fixed it in this commit. If you can confirm this is fixed, I'll do a new release of toml.

I am quite busy at the time. Since you have access to both source codes, it will be faster if you can test it directly.