This is a collection of 50 rust projects based on the Youtube Playlist by Akhil Sharma.
I make slight deviations and improvements to my liking as I go along. Eventually I deviate completely when there are projects that I am not interested in (such as the Solana and Ethereum-related projects, I'm really only interested in Bitcoin).
The ones that are completely new are annotated.
- compress - Takes in a file and compresses it using flake2.
- decompress - Takes in a zip file and decompresses it.
- read_csv - Reads csv and outputs to stdout.
- read_json - Reads in JSON using serde.
- write_json - Writes JSON to stdout using serde.
- get_request - A simple Get request to an API. Prints out Status, Headers, and Body. Uses reqwest and error_chain.
- async - Similar to 6, except uses async await in typical fashion found in Javascript/Typescript. Also encorporates anyhow and thiserror instead of error-chain
- api_calls - Simple API call to Github which gets stargazer info for a rust-related repo.
- auth - Simple authentication using reqwest.
- image_download - Downloads an image to a temporary directory.
- extract_links - Extracts links from a webpage using reqwest.
- rust-sqlite - Creates a couple of sqlite databases and inserts an entry into one of them.
- mongo_db_connect - Connects to a mongodb instance and lists the dbs found therein.
- postgres_conn - Connects to a postgres instance and creates some tables in the chose db.
- postgres_conn - Extends functionality of previous, adding writes and other info.
- actix_api - Simple API using Actix Web and Rhai. Does basic mathematical operations.
- git_autoflow - A simple CLI tool that automates the process of updating a commit and pushing it to a remote branch.
- pass_vault - A simple password manager CLI tool.