Rust

Rust Installation on Windows

  1. Install Rust using rustup-init.exe https://www.rust-lang.org/tools/install

  2. Add “C:\Users\<user-name>\.cargo\bin” to your %PATH% environment variable (If not automatically done)

  3. Install Build Tools for Visual Studio 2017 (Select only Visual C++ build tools)

  4. Install SublimeText 3

  5. Start SublimeText3, Ctrl+Shit+P and select Install Package Control

  6. Install rust-enhanced -The official Sublime Text 3 package for the Rust Programming Language

  7. Start SublimeText3, Ctrl+Shit+P and select Install Package Control and install “LSP”

  8. Install Rust Language Server:

    1. rustup update

    2. rustup component add rls-preview rust-analysis rust-src

    3. rustup run stable-x86_64-pc-windows-msvc rls --version

  9. Start SublimeText3, Ctrl+Shit+P and select Install Package Control and install “LSP”
    Install LSP for SublimeText3:
    https://github.com/tomv564/LSP

  10. Ctrl+Shift+P in SublimeText3 and “LSP: Enable Language Server Globally” then select rls

  11. Install Rust Language Server:

    1. Go to https://github.com/rust-analyzer/rust-analyzer/releases

    2. Download rust-analyzer-windows.exe

    3. Move it to C:\Users\lithi\.cargo\bin

    4. Rename it to rust-analyzer.exe

  12. Ctrl+Shift+P in SublimeText3 and “LSP: Enable Language Server Globally” then select rust-analyzer

Rust Basics

  1. Intro video with code specifically outlining the features of the language:
    A Case for Oxidation: The Rust Programming Language

  2. Hello World and First steps with cargo:
    https://doc.rust-lang.org/cargo/getting-started/first-steps.html

  3. Best Quick Dive: A Gentle Introduction to Rust
    https://stevedonovan.github.io/rust-gentle-intro/

  4. Official Books

    1. Hello World and Example code (Short Book)
      https://doc.rust-lang.org/rust-by-example/hello.html

    2. The Rust Programming Language (Long Book)
      https://doc.rust-lang.org/book/