Just a personal Rust Playground to play around and understand the language.

Overview

Rust Proactive Introduction

The code is a bit messy but it serves just as a personal Rust Playground to play around and understand the language. You can use to explore language feature and try things out. This README.md file will help you setup the IDE too. For managing the Rust Programming Language, I use asdf.

Run the project

  • cargo run

Messy code structure

#[path="basic.rs"] mod basic;
#[path="intermediate.rs"] mod intermediate;
#[path="advanced.rs"] mod advanced;

fn main() {
    basic::basic_rust();
    intermediate::intermediate_rust();
    advanced::advanced_rust();
}

So the files to check and play around are:

  • basic.rs
  • intermediate.rs
  • advanced.rs

Setup IDE (VSCode)

Extensions

  • rust-analyzer: Supports code completion, go to definition, go to implementation and go to type definiton, syntax highlighting. You can find more about rust-analyzer at the official website.\
  • crates: To manage the dependencies with Cargo.toml file.
  • CodeLLDB: Supports native and remote debugging, disassembly, reverse debugging, core dump inspection. Here more about codelldb.
  • Better TOML: Syntax hightlighting and validation for .toml files and markdown files.
  • Error Lens:: Tool that helps you highlight errors, warnings and show other kinds of language diagnostics as soon as you make a change in the code.

Themes

Font

More IDE customization

Rust Programming Language Knowledge Base

License

Copyright 2022 Fernando Cejas

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

https://fernandocejas.com

Buy Me A Coffee

You might also like...
πŸŒ‹ A very lightweight wrapper around the Vulkan Memory Allocator πŸ¦€

πŸŒ‹ vk-mem-alloc-rs A very lightweight wrapper around the Vulkan Memory Allocator πŸ¦€ [dependencies] vk-mem-alloc = "0.1.1" Simple Vulkan Memory Allocat

Just toying with rust, nothing to see here :)

Just toying with rust, nothing to see here :)

simple lottery maker made with rust, just web framework

Toy project for fun It's just for fun! making plausible lottery numbers for Korea made with rust This lottery web framework generates and presents pla

Federated blogging application, thanks to ActivityPub (now on https://git.joinplu.me/ β€” this is just a mirror)

Plume Website β€” Documentation β€” Contribute β€” Instances list Plume is a federated blogging engine, based on ActivityPub. It is written in Rust, with th

 Achieve it! How you ask? Well, it's pretty simple; just use greatness!
Achieve it! How you ask? Well, it's pretty simple; just use greatness!

Greatness! Achieve it! How you ask? Well, it's pretty simple; just use greatness! Disclaimer I do not believe that greatness is the best. It fits a me

Just a bot for Neovim's Matrix room(s)

nvim-matrix-bot Currently just supports replying to messages with :h some_doc or similar in them with a link to the docs on Neovim's website. Plan i

Gnu-copypasta-maker - You'd just wanna interject for a moment!

GNU Copypasta Maker To compile, use make. To install, use sudo make install or if you are root make install To uninstall, use sudo make uninstall or i

πŸ–ŠοΈ Just a place to paste
πŸ–ŠοΈ Just a place to paste

Just a place to paste API GET /p/:id - Get a paste by ID POST /p/n - Post a new paste GET /s - Get stats about the zer0bin instance Public instances S

πŸ–ŠοΈ // Just a place to paste
πŸ–ŠοΈ // Just a place to paste

Just a place to paste Features ✨ Code highlighting and line numbers (default) πŸ“– Markdown rendering (click the button) πŸ”₯ Single-view pastes (click th

Owner
Fernando Cejas
Head of Engineering @TIGNUM. Former Director at @wireapp. Former @soundcloud Core Engineering. Ex @IBM. Curious learner. Geek. OPEN SOURCE Advocate.
Fernando Cejas
Help project managers and project owners with easy-to-understand views of github issue dependencies.

Help project managers and project owners with easy-to-understand views of github issue dependencies.

nasa 56 Dec 15, 2022
Telegram bot help you to run Rust code in Telegram via Rust playground

RPG_BOT (Rust Playground Bot) Telegram bot help you to run Rust code in Telegram via Rust playground Bot interface The bot supports 3 straightforward

TheAwiteb 8 Dec 6, 2022
A collection of compilers based around compiling a high level language to a Brainfuck dialect.

tf A collection of compilers based around compiling a high level language to a Brainfuck dialect. Built at, and for, the VolHacks V hackathon during O

adam mcdaniel 6 Nov 25, 2021
Play Onitama in your browser, compete with friends or lose to a bot

Play Onitama in your browser, compete with friends or lose to a bot

Jack Adamson 52 Nov 12, 2022
A high-level Rust crate around the Discord API, aimed to be easy and straight-forward to use.

rs-cord A high-level Rust crate around the Discord API, aimed to be easy and straight-forward to use. Documentation β€’ Crates.io β€’ Discord Navigation M

Jay3332 4 Sep 24, 2022
FFI wrapper around cfitsio in Rust

rust-fitsio FFI wrapper around cfitsio in Rust Installation fitsio supports versions of cfitsio >= 3.08. cfitsio must be compiled with reentrant suppo

Simon Walker 22 Dec 24, 2022
Thin wrapper around starship.rs to format kakoune status line

kakship is just a thin wrapper around starship to format the status line of kakoune and is meant to be used with the included kakoune script kakship.kak.

Eric Burghard 15 Jun 7, 2022
cargo-check This is a wrapper around cargo rustc

cargo-check This is a wrapper around cargo rustc -- -Zno-trans. It can be helpful for running a faster compile if you only need correctness checks. In

Ray Solomon 99 Oct 13, 2022
A simple, yet feature-filled wrapper around the coqui-stt C API

A simple, yet feature-filled wrapper around the coqui-stt C API

0/0 56 Jan 3, 2023
A safe wrapper around Gamercade's raw Api.

gamercade-rs A safe wrapper around Gamercade's Raw Api. As the Raw Api requires using a lot of unsafe and hiding of values through different types (fo

null 1 Aug 23, 2022