Function cargo::core::compiler::unit_dependencies::deps_of

source ยท
fn deps_of(
    unit: &Unit,
    state: &mut State<'_, '_>,
    unit_for: UnitFor,
) -> CargoResult<()>
Expand description

Compute the dependencies of a single unit, recursively computing all transitive dependencies.

The result is stored in state.unit_dependencies.