GitPedia

Grid

Two dimensional grid data structure

From becheran·Updated May 3, 2026·View on GitHub·

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](https://doc.rust-lang.org/std/vec/struct.Vec.html) type for one dimensional vectors is implemented for two dimensions in this crate. The project is written primarily in Rust, distributed under the MIT License license, first published in 2020. Key topics include: 2d, 2d-array, 2d-data, 2d-vector, data-structure.

Latest release: v1.0.1
April 20, 2026View Changelog →

Grid

docs
crates.io
build status
license

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

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from becheran/grid via the GitHub API.Last fetched: 6/15/2026