Skip to content

Commit

Permalink
Replace toml dependency with toml_edit to preserve comments (#407)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Ivan Petkov <[email protected]>
  • Loading branch information
danjl1100 and ipetkov authored Oct 1, 2023
1 parent a863ce3 commit 03e442f
Show file tree
Hide file tree
Showing 4 changed files with 227 additions and 138 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## Unreleased

### Fixed
* Fixed handling of Cargo workspace inheritance for git-dependencies where said
crate relies on reading non-TOML metadata (i.e. comments) from its Cargo.toml
at build time. ([#407](https://github.com/ipetkov/crane/pull/407))

## [0.14.1] - 2023-09-23

### Fixed
Expand Down
33 changes: 3 additions & 30 deletions pkgs/crane-utils/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkgs/crane-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
anyhow = "1"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
toml = { version = "0.7.3", features = ["preserve_order"] }
toml_edit = "0.20.1"

[dev-dependencies]
pretty_assertions = "1.3.0"
Loading

0 comments on commit 03e442f

Please sign in to comment.