* tools.func: improve Rust setup and crate installation logic
Enhances the setup_rust function to better handle Rust toolchain installation, updates, and verification. Improves global crate installation by handling upgrades, version checks, and error reporting, and adds more informative messaging throughout the process.
* Update tools.func
* Refine comment on setting default Rust toolchain
Removed redundant comment about fixing old installations.