| Crates.io | ferrous-owl |
| lib.rs | ferrous-owl |
| version | 0.0.3 |
| created_at | 2025-12-01 14:11:32.62962+00 |
| updated_at | 2025-12-02 15:55:27.676757+00 |
| description | Visualize Ownership and Lifetimes in Rust |
| homepage | |
| repository | https://github.com/wvhulle/ferrous-owl |
| max_upload_size | |
| id | 1959818 |
| size | 229,146 |
This binary aims to help new users of Rust struggling with the ownership system.
The editor extensions that use this binary visualize ownership movement and lifetimes with colored underlines. The color mapping is roughly as follows:
Exact colors may vary upon editor or chosen color theme. In Helix, for example, less colors are available.
Run this binary (done automatically when editor if an editor extension is configured):
ferrous-owl
Don't pass any arguments to the binary like --stdio, it listens to stdin by default.
In some editors, you might need to manually enable ownership diagnostics with a code action.
Install system packages:
rustup (install)gcc, clang, or Visual Studio on Windows)Install required Rust compiler components:
rustup update nightly
rustup toolchain install nightly --component rustc-dev rust-src llvm-tools
Then install ferrous-owl:
cargo +nightly install ferrous-owl --locked
Or from git:
cargo +nightly install --git https://github.com/wvhulle/ferrous-owl --locked
Make sure the ~/.cargo/bin directory is in your path. Then, configure one of the editor extensions that are supported out of the box (see editors/):
FerrousOwl uses an extended LSP protocol, so it can be integrated with other editors.
println! macro may produce extra output (does not affect usability).