WD-40 works great as a rust preventive for my garden tools.
I hate aerosol oil for guns. Cleaned up a number of guns for folks where too much Rem oil mixed with dust and carbon to make a heavy sludge stopping things up. Even people who knew better couldn't resist a couple extra squirts into the action.