MCPcopy Index your code
hub / github.com/Manishearth/elsa

github.com/Manishearth/elsa @v1.11.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.11.2 ↗ · + Follow
159 symbols 304 edges 11 files 76 documented · 48% updated 10d ago★ 27710 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

elsa

Build Status Current Version License: MIT/Apache-2.0

🎵 Immutability never bothered me anyway 🎶

This crate provides various "frozen" collections.

These are append-only collections where references to entries can be held on to even across insertions. This is safe because these collections only support storing data that's present behind some indirection -- i.e. String, Vec<T>, Box<T>, etc, and they only yield references to the data behind the allocation (&str, &[T], and &T respectively)

The typical use case is having a global cache of strings or other data which the rest of the program borrows from.

Running all examples

cargo test --examples --features indexmap

Core symbols most depended-on inside this repo

get
called by 19
src/map.rs
get
called by 14
src/vec.rs
get
called by 13
src/index_map.rs
len
called by 11
src/sync.rs
push
called by 10
src/vec.rs
get
called by 10
src/index_set.rs
push
called by 10
src/sync.rs
into_iter
called by 9
src/vec.rs

Shape

Method 122
Class 21
Function 16

Languages

Rust100%

Modules by API surface

src/sync.rs48 symbols
src/vec.rs32 symbols
src/index_map.rs19 symbols
src/map.rs18 symbols
src/index_set.rs16 symbols
examples/arena.rs7 symbols
examples/string_interner.rs6 symbols
examples/mutable_arena.rs6 symbols
examples/fluentresource.rs6 symbols
examples/sync.rs1 symbols

For agents

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

⬇ download graph artifact