Skip to main content

Crate jstd

Crate jstd 

Source
Expand description

Small, reusable Rust building blocks, extracted from a binary-analysis toolchain and kept dependency-light.

  • registry — strongly typed usize identifiers (Identifier) and id-indexed registries, so a NodeId cannot be passed where an EdgeId belongs.
  • recycling_arena — typed slab storage that reuses removed slots.
  • graph — directed graph containers, plus graph::analysis for dominator and post-dominator trees and canonical edge-based SESE (single-entry/single-exit) region decomposition.
  • stable_arena — an arena whose elements keep their address as it grows.
  • intern — string interning.
  • num_ref — small numeric reference helpers.

Layered graph layout lives in the separate wazabin-triskel crate, which builds on graph.

Modules§

graph
Graph data structure with typed node and edge identifiers.
intern
log
num_ref
recycling_arena
Typed slab storage whose removed slots are reused.
registry
Strongly typed identifiers and registries.
stable_arena
Dense payload storage with stable, never-reused logical identifiers.

Macros§

debug_print

Derive Macros§

Identifier
Derive macro for strongly typed usize identifiers.