forest

Crates.ioforest
lib.rsforest
version0.1.4
created_at2025-03-30 01:59:54.286542+00
updated_at2025-03-30 05:51:02.179175+00
descriptionExplore and summarise Rust projects
homepagehttps://github.com/Rbfinch/forest
repositoryhttps://github.com/Rbfinch/forest
max_upload_size
id1611948
size246,105
Nicholas D. Crosbie (Rbfinch)

documentation

https://github.com/Rbfinch/forest

README

Explore and summarise Rust projects

Crates.io License

Having trouble seeing the forest for the trees? forest analyses Rust projects to summarise variable mutability and data structure usage. It provides insights about where variables and data structures are declared, used, and what their types are.

Multiple output formats are supported, however the JSON output is the most convenient to work with as it can be easily manipulated with a tool like jq or nushell, for example:

open out.json | get mutable_variables | table --expand

Installation

cargo install forest

Usage

See HELP

Use the --link option to include VSCode-compatable file paths in the output, which can be used to navigate directly to the associated code from terminals which support it.

Example output

See out.json

Note that the --link option was not used in this example to avoid revealing private file paths.

Update changes

see CHANGELOG

Contributing

see CONTRIBUTING

License

MIT

Commit count: 31

cargo fmt