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ยง
- Serialized
Unit ๐ - Serialized
Unit ๐Dep - Serialized
Unit ๐Graph - UnitDep
- A unit dependency.
Constantsยง
- VERSION ๐
Functionsยง
- emit_
serialized_ unit_ graph - Outputs a JSON serialization of
UnitGraphfor givenroot_unitsto the standard output.
Type Aliasesยง
- Unit
Graph - The dependency graph of Units.