Two dimensional grid data structure
Last updated May 3, 2026
102
Stars
32
Forks
5
Issues
0
Stars/day
Attention Score
48
Language breakdown
No language data available.
โธ Files
click to expand
README
Grid
Data structure grid for rust. Provide a two dimensional data structure for rust that is easy to use and fast. Most of the functionality provided by the std::vec::Vec type for one dimensional vectors is implemented for two dimensions in this crate.
To use grid with no_std import the library such as:
toml
grid = { version = "*", default-features = false }
Safety checks
The CI in .github/workflows/rust.yml runs the test suite under Miri to catch undefined behavior in exercised code paths.
To run the same check locally:
sh
rustup toolchain install nightly --component miri
cargo +nightly miri setup
cargo +nightly miri test --verbose
๐ More in this category