MCPcopy Index your code
hub / github.com/becheran/grid

github.com/becheran/grid @v1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.1 ↗ · + Follow
337 symbols 800 edges 2 files 38 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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:

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:

rustup toolchain install nightly --component miri
cargo +nightly miri setup
cargo +nightly miri test --verbose

Core symbols most depended-on inside this repo

clone
called by 23
src/lib.rs
init_grid
called by 18
benches/benches.rs
push_col
called by 15
src/lib.rs
map
called by 15
src/lib.rs
iter
called by 14
src/lib.rs
insert_row
called by 14
src/lib.rs
push_row
called by 11
src/lib.rs
rotate_left
called by 11
src/lib.rs

Shape

Function 252
Method 77
Class 6
Enum 2

Languages

Rust100%

Modules by API surface

src/lib.rs334 symbols
benches/benches.rs3 symbols

For agents

$ claude mcp add grid \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact