Rust是一门系统编程语言,专注于安全,尤其是并发安全,支持函数式和命令式以及泛型等编程范式的多范式语言。
下载地址:https://mirrors.adysec.com/language/rust
打开 Rust 工具链的配置文件,通常是位于 ~/.cargo/config
(Linux/macOS)或 %USERPROFILE%\.cargo\config
(Windows)。
在配置文件中添加以下内容:
xxxxxxxxxx
[source.crates-io]
registry = "https://mirrors.adysec.com/language/rust"
保存配置文件并关闭。