# rustviz/rustviz

Interactively Visualizing Ownership and Borrowing for Rust

Repository: https://github.com/rustviz/rustviz
Canonical: https://ross.abutalabs.com/products/rustviz
Homepage: https://rustviz.github.io
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-05-10T21:55:07+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 50, longevity 100
- inputs: {"age_days": 2158, "days_push": 115, "days_rel": 120, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2849, forks 75 (observed 2026-08-28T04:07:25.576778+00:00)

## What it is
RustViz generates interactive timeline visualizations of ownership and borrowing events for short Rust programs, integrating directly with rustc via a nightly plugin that walks HIR/MIR. It is primarily a teaching aid for explaining Rust's ownership model, available as a CLI, mdbook preprocessor, library, and web playground.

## Use cases
- visualize ownership and borrowing events in a Rust snippet
- teach students how the Rust borrow checker works
- generate interactive timelines for Rust code examples in course materials
- embed ownership diagrams into mdbook documentation
- see when variables become owners and when references go out of scope

## When to choose
- you are teaching or learning Rust ownership and borrowing concepts
- you want diagrams that reflect the real borrow checker's view rather than hand annotations
- you need to embed interactive visualizations into Rust educational material

## When to avoid
- you need visualizations for large production Rust codebases
- you cannot use a specific nightly Rust toolchain
- you need a general-purpose Rust debugger or profiler

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, developer-tools, data-visualization
- domain: education, programming-languages, developer-tools, tutorials
- platform: windows, rust
- tags: rust-ownership, borrow-checker, teaching-aid, interactive-visualization, rustc-plugin, mdbook-preprocessor, education, linux, macos, web

## Member repositories
- rustviz/rustviz (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.576778+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:37:00.428911+00:00, confidence not recorded.
  - readme: https://github.com/rustviz/rustviz (fetched 2026-08-28T04:07:25.576778+00:00, sha b92fad65f2aa)
  - homepage: https://rustviz.github.io (fetched 2026-08-29T09:52:33.800634+00:00, sha 18e6a0a24370)
  - registry_crates: https://crates.io/api/v1/crates/rustviz (fetched 2026-08-29T09:52:33.804124+00:00, sha c485871bb365)
- Data as of 2026-08-30T08:39:29.467469+00:00.
