update_table_dependencies

Function update_table_dependencies 

Source
pub fn update_table_dependencies(
    dep_table: &mut Table,
    crates_versions: &BTreeMap<String, String>,
    overwrite: bool,
)
Expand description

Updates dependencies within a specific TOML table.

This function modifies the dependency table in-place, updating versions and removing git/path-related fields as appropriate.

ยงArguments

  • dep_table - The TOML table containing dependencies
  • crates_versions - A map of crate names to their versions
  • overwrite - If true, will overwrite local path dependencies