pub fn dependency_namespace(
    namespace_map: &HashMap<NodeIx, Module>,
    graph: &Graph,
    node: NodeIx
) -> Module
Expand description

Builds the dependency namespace for the package at the given node index within the graph.

This function is designed to be called for each node in order of compilation.

This function ensures that if core exists in the graph (the vastly common case) it is also present within the namespace. This is a necessity for operators to work for example.