# Module cargo::core::compiler::unit_graph

source ·
Expand description

Serialization of `UnitGraph` for unstable option `--unit-graph`.

## Structs§

- SerializedUnit 🔒
- SerializedUnitDep 🔒
- SerializedUnitGraph 🔒
- UnitDep
  A unit dependency.

## Constants§

- VERSION 🔒

## Functions§

- emit_serialized_unit_graph
  Outputs a JSON serialization of `UnitGraph` for given `root_units` to the standard output.

## Type Aliases§

- UnitGraph
  The dependency graph of Units.