Update rust.rb

Added --head option to build head version.