Replies: 1 comment
-
or use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mirakc
usesserde_yaml
to read a configuation file in YAML format. As you can see in the linked page, this crate was deprecated. So, we have to replace it with another crate that is maintained actively.If there is no such crate supporing YAML, we need to change the format to something else. No decision has been made at this point.
One of candiate formats is TOML. TOML is supported by
serde
andcargo
uses this format.We can look for online/offline tools to convert YAML data to TOML data. But the result may look somewhat odd to users. Because there are multiple representations for a single YAML data in TOML. For example, the following YAML data:
can be represented in the following TOML representation:
The following TOML is one of other representation of the same YAML data:
The second one looks better than the first one (at least for me).
Beta Was this translation helpful? Give feedback.
All reactions