cargo-modules
cargo-modules copied to clipboard
Visualize/analyze a Rust crate's internal structure
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Edited/Blocked These updates have been manually edited so Renovate will no longer make...
I love this tool, but I needed an easy way to parse the output, so created a json printer. I tried to follow the pattern set up by the tree...
First, thank you for this plugin; an important component of the rust-tool-chain. I'm having trouble getting the expected output. The documentation suggests I should see more than what I am....
`cargo modules generate graph --with-uses` is very useful for understanding a crate. However, I notice that it doesn't generate `uses` edges when one module uses another's components by their fully...
I'd love to use cargo modules as a tool to optimize my project's module structure. When rendering items and their interdependencies, the output looks very messy: ![image](https://user-images.githubusercontent.com/21220820/147259355-27c633c0-672e-4709-9f98-afd1065a0cec.png) If it were...
Issue #20 has regressed. cargo-modules is once again unconditionally enabling test mode. For example, with the following input: ```rust use crate::a::X; #[cfg(not(test))] use crate::b::Y; #[cfg(test)] use crate::c::Z; pub mod a...
A common pattern is for a module to define an inner private module, then reexport parts of that private module as its own public API. Two ways of doing this...
Based on http://www.pathsensitive.com/2021/03/developer-tools-can-be-magic-instead.html The first part speaks about reflection models. It seems to me that should be something powerful but easy to add to cargo modules: It is starts as...
I would like to be able to generate a graph for a structure. I have a heavy numbers of structure for a parsing crate that contains each other a lot,...
As a rule, I try to organize my code so that the relationships between modules are acyclic - if I import something from module a into module b, I don't...