rust_advent_matrix

Crates.iorust_advent_matrix
lib.rsrust_advent_matrix
version1.1.1
created_at2025-12-02 02:01:49.820115+00
updated_at2025-12-09 23:44:00.507921+00
descriptiona pure-safe-rust, zero dependency matrix data structure
homepagehttps://github.com/jeffbstewart/rust_matrix
repositoryhttps://github.com/jeffbstewart/rust_matrix
max_upload_size
id1960991
size77,292
(jeffbstewart)

documentation

README

Matrix crate

Advent of Code puzzles frequently feature rectangular ASCII descriptions of inputs. I have found having a matrix class with quality-of-life features eases solving these puzzles. Having decided to solve the 2025 edition using Rust, I wanted something similar. The code here is inspired by my previous (unpublished) Kotlin quality-of-life Matrix classes. It's also heavily influenced by someone else's solution.

The code is pure safe-rust with zero dependencies. I make no warranties regarding the quality of the result, nor its fitness for any given purpose. I'm uninterested in pull requests for changes or in bug reports. Clone it and fix it yourself if you are so inclined.

Commit count: 0

cargo fmt