fn compute_deps( unit: &Unit, state: &mut State<'_, '_>, unit_for: UnitFor, ) -> CargoResult<Vec<UnitDep>>
Returns the direct unit dependencies for the given Unit.
Unit