-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Description
cargo upgrade collapses a table-like item that has only one item. For example, if we upgrade Cargo.toml that has the following fragment:
[dependencies]
inline_table = { version = "0.1.0" }
string = "0.1.0"
[dependencies.table]
version = "0.1.0"the result would be something like this.
[dependencies]
inline_table = "0.2.0"
string = "0.2.0"
table= "0.2.0"- The result for a dependency that is specified in the table has no space after the crate name.
table= "0.2.0"
- I'm not too sure about the advantage of collapsing tables. This potentially drops some information such as a comment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels