### Problem When developing bins or tests, the use of a dependency in a `pub` item doesn't actually make it a public dependency. ### Proposed Solution Restrict which targets use `-extern priv:` ### Notes _No response_ <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"linyihai"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->