While most crates do have a dependencies section, it is possible for a crate to not have one at all. That would cause a KeyError for the current implementation. This PR instead attempts to get a dependencies section and then falls back on an empty dictionary if it did not exist.
While most crates do have a
dependencies
section, it is possible for a crate to not have one at all. That would cause a KeyError for the current implementation. This PR instead attempts to get adependencies
section and then falls back on an empty dictionary if it did not exist.