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

Migrate from YAML to TOML, Python to Rust for configuration #235

Merged
merged 6 commits into from
Aug 7, 2024

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Aug 7, 2024

Fixes: #123

This PR moves our configuration parsing to Rust, while maintaining the existing Python interface. This is a temporary situation while we work on porting the rest of the downstream code to Rust as well.

The primary user-facing change is that we are moving from YAML to TOML for configuration.

There is code in this PR that automatically migrates a YAML config file to TOML, in addition to the pre-existing auto-migrations for other field changes we've made. For almost all users the switchover should be automatic and transparent.

@emdoyle emdoyle marked this pull request as ready for review August 7, 2024 03:45
@emdoyle
Copy link
Member Author

emdoyle commented Aug 7, 2024

Planning to update docs and README in a separate PR along with the version bump. It gives us some time after merging before we have to release.

@emdoyle emdoyle merged commit ff76ad4 into main Aug 7, 2024
7 checks passed
@emdoyle emdoyle deleted the rust-config-parsing branch August 7, 2024 16:50
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

Successfully merging this pull request may close these issues.

Project configuration should be parsed in Rust
1 participant