TimonPost / cargo-dependency-inheritor

Utility to inherit dependencies from workspace file if it occurs 'n' or more times throughout the project.
Apache License 2.0
30 stars 1 forks source link

Fix table getting added as `["workspace.dependencies"]` #4

Closed MarijnS95 closed 2 years ago

MarijnS95 commented 2 years ago

toml_edit assumes the key needs to be taken literally here, and escapes the period (.) by inserting quotes (") around the entire key, while dependencies is instead a subtable of workspace.

It is curious that get_mut() on such a key seems to work, though.