Basically, you cannot. Cargo functions are additive, and functions can be enabled by any box in the dependency tree. It implies an assumption on the part of Cargo that it is always valid for the inclusion of additional functions.
, - , . feature_1, feature_2, , . ( ) , , .
, . , , , . script , , , , .