Is there a good primer (spray can) to stop cast iron engine parts from rusting?

I've never primed an engine. Once cleaned from the machine shop I paint them. Bare metal gets some RP. 65'