asuka-405 / rust-notes

Rust notes for anyone who is starting out with the rust lang. Notes are in the form of `jupyter notebooks`.

Home Page:https://doc.rust-lang.org/book/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“ Notes Setup

🐍 Python and πŸ¦€ Rust Installation

Post Install: A system restart is recommended. πŸ”„

Install dependencies.

# Install jupyter notebook. πŸ““
pip3 install jupyter

# Add rust kernel for jupyter. πŸ¦€
cargo install --locked evcxr_jupyter

# Install the kernel. πŸ› οΈ
evcxr_jupyter --install

# Source for rust standard library. πŸ“š
rustup component add rust-src

In case any of the above operations fail: πŸ’₯ Do a shell restart.

Post install

  • After everything is set up, run the open-rust-book.ps1 script or run the following command in the shell: πŸš€
# Navigate to your project directory πŸ“
cd path/to/project

# Start Jupyter Notebook πŸ““
jupyter notebook

Contribution: 🀝 Please contribute, especially if you find anything outdated or wrong. πŸ™Œ

About

Rust notes for anyone who is starting out with the rust lang. Notes are in the form of `jupyter notebooks`.

https://doc.rust-lang.org/book/


Languages

Language:Jupyter Notebook 99.4%Language:PowerShell 0.4%Language:Rust 0.3%