Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hocon configuration library #187

Open
2 of 3 tasks
Bathtor opened this issue Apr 14, 2023 · 2 comments
Open
2 of 3 tasks

Replace hocon configuration library #187

Bathtor opened this issue Apr 14, 2023 · 2 comments

Comments

@Bathtor
Copy link
Contributor

Bathtor commented Apr 14, 2023

It seems the person maintaining the hocon library we've been using for configuration has stopped maintaining it. And it has an upcoming Rust incompatibility in its parser dependencies, that'll bite us in the arse eventually. So we need to either replace it, or take over the maintenance and fix it.

TODO

  • Look for alternative hocon libraries and list them
  • Look at alternative config formats
  • Make a decision
@Bathtor
Copy link
Contributor Author

Bathtor commented Apr 14, 2023

Looked for more libraries, but it looks like this is the only one on crates.io. The other HOCON thingy there is a fork of the same library, but even older.

That leaves considering new options:

  • YAML may fill the role and has good support in the Rust ecosystem
  • JSON is always an option

@Bathtor
Copy link
Contributor Author

Bathtor commented May 28, 2023

TOML is probably the best option, given it's widespread use in the Rust ecosystem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant