Learning Rust

I have a small project of building a personal finance system. Keeping track of my accounts, mortgages, investments, and so on. It is mostly an excuse to learning to write some stuff in Rust, because why not.

General documentation on Rust stuff: https://docs.rs/.

Types

Result<T>

An important part of Rust's exception handling. If a function returns a Result of some type, you can handle it like so:

UseResult
some_fn()?Propagate the error.
some_fn().unwrap()Get the value insisde the Result, crash if error.
some_fn().ok()Just the value inside Result, ignore error.

This syntax is ugly as fuck tbh, full of question marks.

Libraries

My learning projects all have that in common, that they are small Rest APIs for a database. To keep things simple and easy, I am using Sqlite which is an excellent database.

PackagePurposeLink
Axum???https://docs.rs/axum/latest/axum/
Tokio???https://docs.rs/tokio/latest/tokio/
Serde???https://docs.rs/serde/latest/serde/
RusqliteSDK for interacting with Sqlite files.https://docs.rs/rusqlite/latest/rusqlite/
words172
updated2026.07.19