Rust开发日记
Getting started - Rust Programming Language (rust-lang.org)
安装好配置环境变量Path:
%CARGO_HOME%和%RUSTUP_HOME%
建立config文件,不要扩展名。
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
# 替换成你偏好的镜像源
replace-with = 'sjtu'
# 清华大学
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
# 中国科学技术大学
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
# 上海交通大学
[source.sjtu]
registry = "https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index"
# rustcc社区
[source.rustcc]
registry = "git://crates.rustcc.cn/crates.io-index"
vs-code 安装rust-analyzer等
练习GUI例子:
iced-rs/iced: A cross-platform GUI library for Rust, inspired by Elm (github.com)
,Best Wish 不负年华