Not sure about the file that's being downloaded for you, for me it prompts to install the "Visual Studio Installer", which presents the following window. Selecting "desktop development with C++" allows to select and deselect the items that need to be installed - the first 2, along with Cmake, as far as I'm aware, are essential for Rust - and cumulatively they take up almost 7 GB of space.