-
Notifications
You must be signed in to change notification settings - Fork 24
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
dotted keys cause tomllib to fail to parse Cargo.toml #15
Comments
toml-rs was recommended here: #10 (comment) |
Going to start on this issue by building a test suite that is agnostic to the toml crate. Since the needs from the TOML crate are pretty specific (format preservation) but only has to read/update a single value it should be easy enough to build the different impls once I get the test suite built. Should have had a suite for a while anyway. |
927fb3d Adds a basic test suite and factors the tomllib usage into a single function. Next up build implementations using |
Updated top post,
Moving forward with |
Fixes this, uses toml_edit as was recommended (and an implementation provided by) @gycos. Didn't use their patch mostly because I had to refactor the code for testing first. Will pull in their other patch for pre-release and meta data before 2.0 release goes out |
This was initially reported on #9
Contenders for new TOML crate to replace
tomllib
.toml_edit
- Built forcargo_edit
with an very similar feature set required (may eventually see about getting bump integrated as part of cargo_edit)toml-rs
- A more general purpose toml libraryThe text was updated successfully, but these errors were encountered: