Skip to content

Commit

Permalink
Auto merge of #10086 - epage:toml, r=ehuss
Browse files Browse the repository at this point in the history
Port cargo from toml-rs to toml_edit

Benefits:
- A TOML 1.0 compliant parser
- Unblock future work
  - Have `cargo init` add the current crate to the workspace, rather
    than error
  - #5586: Upstream `cargo-add`

TODO
- [x] Analyze performance and address regressions
- [x] Identify and resolve incompatibiies
- [x] Resolve remaining test failures, see
      https://github.com/ordian/toml_edit/labels/cargo
- [x] ~~Switch the code from #10176 to only parse once~~ (this PR is being merged first)
  • Loading branch information
bors committed Jan 20, 2022
2 parents 7e89966 + 320c279 commit bb96b3a