一些Rust的学习资料

在线教程 https://blog.fudenglong.site/Programming-Rust/ jetbrains出品的rust教程 微软出品:写给.net开发人员的Rust教程 https://github.com/google/comprehensive-rust 通过例子学rust https://cheats.rs/ learn how to write macros in Rust Operating System development tutorials in Rust on the Raspberry Pi Rust语言实战 inside rust std library https://learning-rust.github.io https://github.com/CleanCut/ultimate_rust_crash_course 一些文档 gRPC相关 https://blog.logrocket.com/rust-and-grpc-a-complete-guide/ MongoDB https://www.freecodecamp.org/news/mongodb-in-rust/ https://medium.com/geekculture/async-rust-with-tokio-and-mongodb-ae75594c65b8 https://betterprogramming.pub/build-an-api-to-count-github-profile-views-with-rust-actix-and-mongodb-5a6532b6d2eb https://auth0.com/blog/build-an-api-in-rust-with-jwt-authentication-using-nickelrs/ 跨语言调用 Calling Rust code from Go - the Gambiarra way https://words.filippo.io/rustgo/ https://belski.me/blog/foreign-function-interface-in-rust-and-go/ Calling Rust from C# 视频 杨旭 Rust编程语言入门教程 杨旭 Rust 编程语言中级教程 杨旭Rust Web 全栈开发教程

March 28, 2023 · 1 min · czyt

Rust安装及配置

下载rustup 从此处下载 设置rustup镜像 字节提供的镜像 https://rsproxy.cn export RUSTUP_DIST_SERVER="https://rsproxy.cn" export RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" 设置两个环境变量即可 设置环境变量 RUSTUP_DIST_SERVER (用于更新 toolchain) export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static 以及 RUSTUP_UPDATE_ROOT (用于更新 rustup) export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup crates.io 镜像 编辑 ~/.cargo/config [source.crates-io] replace-with = 'rsproxy' [source.rsproxy] registry = "https://rsproxy.cn/crates.io-index" [registries.rsproxy] index = "https://rsproxy.cn/crates.io-index" [net] git-fetch-with-cli = true 安装Rust 安装rust即可。可以参考我的步骤 Current installation options: default host triple: x86_64-pc-windows-msvc default toolchain: stable (default) profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation 3) Cancel installation >2 I'm going to ask you the value of each of these installation options....

February 28, 2022 · 3 min · czyt