Skip to main content

dependency_graph

Function dependency_graph 

Source
pub fn dependency_graph(contracts: &[(String, &Contract)]) -> DependencyGraph
Expand description

Build a dependency graph from a set of contracts.

Each contract is identified by its stem (filename without .yaml). Dependencies come from metadata.depends_on.