Lots of ways to clean up rusty mechanisms and items. A soak in dilute citric acid or, better still dilute molasses*, for an extended period will work. Low strength brick cleaner is faster but the fumes cause rust...
Whatever you use, lubricate as soon as it comes out to prevent rapid rusting of clean surfaces.
*Most rust removal uses acids, but molasses are gentler as they chelate the rust into solution.