Skip to main content

dependency_paths

Function dependency_paths 

Source
pub fn dependency_paths(lock: &LockfileModel) -> BTreeMap<String, Vec<String>>
Expand description

Map of crate name -> shortest dependency path (inclusive of both the root crate and the target), following forward dependency edges from any local (workspace) crate. Names only — version-agnostic, matching the lockfile’s dependency granularity.