Uniformly rotating neutron stars in the global and local charge neutrality cases