Skip to main content

build_dependency_graph

Function build_dependency_graph 

Source
pub fn build_dependency_graph(env: &Env) -> Vec<(String, Vec<String>)>
Expand description

Build a [(name, [dep, ...]), ...] listing covering every registered root-construct in deterministic, sorted order at every level. Constructs with no dependencies map to an empty vector so the trust audit can still see them. Complement of Env::dependency_closure(name) which gives a per-construct slice.