Structs§
- Topological
Sort Config - Configuration for how we do topological sorts.
We remove
Debugbecause closures cannot deriveDebugeasily. - Topological
Sort Config Builder - Builder for
TopologicalSortConfig.
Enums§
- Topological
Sort Config Builder Error - Error type for TopologicalSortConfigBuilder
Traits§
- Basic
Topological Sort - Trait for a simple, flat, topological ordering of all crates in the target.
- Focus
Crate Topological Sort - Trait for focusing on a single crate/workspace: produce the subgraph of internal dependencies that lead up to the focus, then return either a flat or layered topological ordering.
- Layered
Topological Sort - Trait for returning a layered topological ordering of all crates in the target.
- Topological
Sort Internal Deps - Trait specifically for a single
CrateHandle. “topological_sort_internal_deps” => interpretselfas the “focus crate”.
Functions§
- add_
crate_ and_ deps - Minimal BFS-based function that adds
crate_handleand all its internal dependencies (recursively) intograph, returning the node index ofcrate_handlein that graph. - create_
workspace_ and_ get_ handle - layered_
subgraph_ internal