Comments (4)
Parsing local modules probably wouldn't be too difficult, but parsing external modules (to include std
) would be much more difficult and require the source.
I'll play with some ideas and see what I can figure out.
from cargo-graph.
Having the ability to graph just local module dependencies would help review designs a lot.
from cargo-graph.
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.
from cargo-graph.
Here's a newer crate than produces nice module graphs: https://github.com/regexident/cargo-modules
from cargo-graph.
Related Issues (20)
- dependency versions HOT 2
- "duplicated" regular and dev-dependencies are not separated HOT 9
- Panic in DepGraph::render_to HOT 2
- ErdΕs-style graph painting HOT 2
- Panic when a crate has dev-dependencies
- Not deterministic
- Show multiple instances of the same crate separately
- Some dependencies are wrong HOT 1
- cargo graph does not work with cargo workspaces HOT 5
- Optional dependency marked as non-optional HOT 1
- Compile error with rustc 1.15.0-nightly (ebeee0e27 2016-12-04)
- Compile error with rustc 1.15.0-nightly (ebeee0e27 2016-12-04)
- Differentiate dependencies by source HOT 2
- No root table found for toml file HOT 15
- cargo-graph generates incompatible dot files in powershell HOT 3
- Graph only path dependencies (or other filtering) HOT 1
- duplicate key: `version` HOT 2
- Does not work with Cargo 1.41 toml format HOT 1
- Add ability to color deps, not just lines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-graph.