Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upmodule graphs? #11
Comments
This comment has been minimized.
This comment has been minimized.
|
Parsing local modules probably wouldn't be too difficult, but parsing external modules (to include I'll play with some ideas and see what I can figure out. |
This comment has been minimized.
This comment has been minimized.
nixpulvis
commented
Apr 22, 2016
|
Having the ability to graph just local module dependencies would help review designs a lot. |
This comment has been minimized.
This comment has been minimized.
asomers
commented
Jun 15, 2018
|
I like this idea. And as far as I'm concerned, graphing only local dependencies would actually be better than graphing global modules too. I actually wrote my own version of this tool, but it uses awk and sh, so it's far from perfect. In particular, it doesn't work at all with nested import groups. |
This comment has been minimized.
This comment has been minimized.
asomers
commented
Jun 16, 2018
|
Here's a newer crate than produces nice module graphs: https://github.com/regexident/cargo-modules |
flying-sheep commentedNov 14, 2015
hi! i wanted to ask if module dependencies within a crate are out of scope or could be implemented.
surely a bigger thing as we’d have to parse rust…
the utility would be detecting dependency cycles and therefore get help with better module structure.