{"id":13671626,"url":"https://github.com/jplatte/cargo-depgraph","last_synced_at":"2025-05-01T09:54:10.284Z","repository":{"id":97240797,"uuid":"333493080","full_name":"jplatte/cargo-depgraph","owner":"jplatte","description":"Creates graphviz dependency graphs for Rust projects that use Cargo","archived":false,"fork":false,"pushed_at":"2024-06-13T19:05:22.000Z","size":1745,"stargazers_count":177,"open_issues_count":9,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T09:53:54.266Z","etag":null,"topics":["cargo-plugin","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jplatte.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-27T16:38:33.000Z","updated_at":"2025-04-29T15:03:27.000Z","dependencies_parsed_at":"2024-10-13T14:42:08.865Z","dependency_job_id":"1a92fe28-19e0-4615-83c6-d2e88af10a3c","html_url":"https://github.com/jplatte/cargo-depgraph","commit_stats":{"total_commits":118,"total_committers":5,"mean_commits":23.6,"dds":0.05084745762711862,"last_synced_commit":"4f0e7d8f14022195cd94456156270ff9ba89f382"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplatte%2Fcargo-depgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplatte%2Fcargo-depgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplatte%2Fcargo-depgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplatte%2Fcargo-depgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplatte","download_url":"https://codeload.github.com/jplatte/cargo-depgraph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251856993,"owners_count":21655119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo-plugin","rust"],"created_at":"2024-08-02T09:01:14.863Z","updated_at":"2025-05-01T09:54:10.260Z","avatar_url":"https://github.com/jplatte.png","language":"Rust","funding_links":[],"categories":["Rust","rust"],"sub_categories":[],"readme":"# cargo-depgraph\n\nCreates dependency graphs for cargo projects using `cargo metadata` and graphviz.\n\n## Installation\n\n`cargo install cargo-depgraph`\n\nIf you are using Arch Linux, you can alternatively install via `pacman -S cargo-depgraph`.\n\n## Usage\n\n*Note: This assumes you have [Graphviz](https://graphviz.org/) installed. There are also online\ntools that can generate graphics from the textual graphviz graphs `cargo depgraph` generates, if\nthe command-line graphviz tools like `dot` aren't your thing.*\n\n`cargo depgraph [options] | dot -Tpng \u003e graph.png`\n\nThe full list of options can be seen by running\n\n`cargo depgraph --help`\n\nCommonly useful options:\n\n* `--all-deps`\n\n![cargo-depgraph's dependency graph](graph_all.png)\n\n* `--all-deps --dedup-transitive-deps`\n\n![cargo-depgraph's dependency graph with transitive dependency edges de-duplicated](graph_all_deduped.png)\n\n## Output explanation\n\n* square node = root / workspace member\n* grey background = target-specific dependency\n* dotted lines = optional dependency (could be removed by disabling a cargo feature)\n* dashed lines = transitively optional dependency (could be removed by removing one of the dotted\n  edges)\n* line colors = dependency kinds w.r.t. root / workspace members\n  * black = normal\n  * blue = dev-dependency\n  * green = build-dependency\n  * light turquoise = build-dependency of a dev-dependency\n  * dark green = both normal and build-dependency\n  * violet = both dev-dependency and build-dependency\n  * … not seen in the wild yet, but theoretically possible:\n    * dark turquoise = both normal and build-dependency of a dev-dependency\n    * pastel blue = both dev-dependency and build-dependency of a dev-dependency\n  * red = you broke it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplatte%2Fcargo-depgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplatte%2Fcargo-depgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplatte%2Fcargo-depgraph/lists"}