Skip to main content

Module unit_graph

Module unit_graph 

Source
Expand description

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

Re-exportsยง

use cargo_util_schemas::core::PackageIdSpec; ๐Ÿ”’
use crate::GlobalContext; ๐Ÿ”’
use crate::compiler::Unit; ๐Ÿ”’
use crate::compiler::CompileKind; ๐Ÿ”’
use crate::compiler::CompileMode; ๐Ÿ”’
use crate::util::CargoResult; ๐Ÿ”’
use crate::util::Unhashed; ๐Ÿ”’
use crate::util::interning::InternedString; ๐Ÿ”’
use crate::workspace::Target; ๐Ÿ”’
use crate::workspace::dependency::Dependency; ๐Ÿ”’
use crate::workspace::profiles::Profile; ๐Ÿ”’
use crate::workspace::profiles::UnitFor; ๐Ÿ”’
use cargo_util::collections::HashMap; ๐Ÿ”’

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.