How long a crane rail, and how are you propose holding it up in the air?
"Accommodating" thermal movement depends on where the piece of steel is fixed, how many places it is fixed at, where the expansion "wants" to go, and the amount of relative expansion between the rail (in this case) and some other (assumed non-mobile!) object that is not expanding.
If a long rail is in mid-air with long vertical supports, there is no relative motion problem: everything expands and the vertical at each end go (slightly) out of vertical. If each each vertical is slightly canted inward in cold weather, then the end verticals move more towards "straight" up and down as the assembly heats up.