rustviz
rustviz/rustviz · Public GitHub repository
Interactively Visualizing Ownership and Borrowing for Rust
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
RustViz generates interactive timeline visualizations of ownership and borrowing for short Rust programs. It is meant as a teaching aid: paste a snippet and see exactly when each binding becomes the resource owner, when references go in and out of scope, and which lines those events correspond to.
This repository is now the compiler-integrated rewrite. Earlier versions of RustViz, deployed in the classroom and described in our VL/HCC 2022 paper, read hand-annotated source; this one plugs into rustc directly and walks HIR/MIR, so the diagram reflects the real borrow checker's view of the program rather than a hand-curated approximation.
Looking for the original (annotation-based) RustViz? It lives on the rv1-final branch and tag in this repo, with a matching GitHub Release.
Requirements and intended audience
RustViz generates interactive timeline visualizations of ownership and borrowing for short Rust programs. It is meant as a teaching aid: paste a snippet and see exactly when each binding becomes the resource owner, when references go in and out of scope, and which lines those events correspond to.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-15. Source: https://github.com/rustviz/rustviz/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-11-03. Saved release: rv1-final · 2026-05-05. These dates do not guarantee ongoing maintenance.
- Technologies
- Rust
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-23. This does not test every feature.
Browse related categories
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin