{"id":17623755,"url":"https://github.com/wiseaidev/depth","last_synced_at":"2025-05-01T09:56:14.384Z","repository":{"id":207938316,"uuid":"720462094","full_name":"wiseaidev/depth","owner":"wiseaidev","description":"Inspect crate.io crates on the fly, as a Tree ├── (WIP)","archived":false,"fork":false,"pushed_at":"2023-12-11T12:31:45.000Z","size":39,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T12:39:11.915Z","etag":null,"topics":["cargo","crate","depth","graph","rust","tree"],"latest_commit_sha":null,"homepage":"https://docs.rs/depth","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiseaidev.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-11-18T15:04:58.000Z","updated_at":"2023-11-30T13:43:32.000Z","dependencies_parsed_at":"2023-11-18T16:25:54.158Z","dependency_job_id":"b6f28071-e4da-40d1-8f3a-f17d10164746","html_url":"https://github.com/wiseaidev/depth","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"346edb1fb60a36d3999aad81591aa3b46476a52f"},"previous_names":["wiseaidev/depth"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Fdepth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Fdepth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Fdepth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiseaidev%2Fdepth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiseaidev","download_url":"https://codeload.github.com/wiseaidev/depth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251632539,"owners_count":21618630,"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","crate","depth","graph","rust","tree"],"created_at":"2024-10-22T21:42:45.411Z","updated_at":"2025-05-01T09:56:14.359Z","avatar_url":"https://github.com/wiseaidev.png","language":"Rust","readme":"# Depth\n\n[![Crates.io](https://img.shields.io/crates/v/depth.svg)](https://crates.io/crates/depth)\n[![Crates.io Downloads](https://img.shields.io/crates/d/depth)](https://crates.io/crates/depth)\n![Rust](https://img.shields.io/badge/rust-stable-orange)\n[![License](https://img.shields.io/crates/l/depth.svg)](https://opensource.org/licenses/MIT)\n[![Build Status](https://github.com/wiseaidev/depth/workflows/Rust/badge.svg)](https://github.com/wiseaidev/depth/actions)\n\n\u003e 🚀 `depth`: A command-line tool for fetching and visualizing dependency trees for Rust packages.\n\n## 📖 Table of Contents\n\n- [Installation](#-installation)\n- [Usage](#-usage)\n- [Features](#-features)\n- [Examples](#-examples)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n## 🚀 Installation\n\nTo install `depth`, use the following Cargo command:\n\n```bash\ncargo install --locked depth\n```\n\n## 🛠️ Usage\n\nUse the `depth` command to visualize dependency trees. Here are some examples:\n\n```bash\n# Visualize dependencies at level 1\n$ depth -c crate_name -l 1\n\n# Or simply\n$ depth -c crate_name\n```\n\n## ✨ Features\n\n- **Fetch and Visualize Dependency Tree**: Fetch and visualize the dependency tree for a given Rust package using the Crates.io API.\n- **Command-Line Tool**: Use the `depth` command-line tool to interactively explore and visualize dependencies.\n- **Colorful Visualization**: Enhance the visualization with color-coding to represent different types of dependencies or levels of importance.\n- **Multilevel Dependency Exploration**: Dive deeper into dependencies by supporting multilevel exploration, allowing you to inspect dependencies at various levels of depth.\n- **Dependency Version Information**: Display version information for each dependency, including the version used by the current package.\n\n## 🌟 Examples\n\n```bash\n# Visualize dependencies for the 'input_yew' crate at level 1\n$ depth -c input_yew\nDependencies for package 'input_yew':\n ├── input_yew - ()\n    ├── web-sys - (^0.3.64)\n    ├── yew - (^0.20.0)\n\n# Or\n\n$ depth -c yew -l 1\nDependencies for package 'input_yew':\n ├── input_yew - ()\n    ├── web-sys - (^0.3.64)\n    ├── yew - (^0.20.0)\n\n$ depth -c input_yew -l 2\nDependencies for package 'input_yew':\n ├── input_yew - ()\n    ├── web-sys - (^0.3.64)\n    ├── yew - (^0.20.0)\n    ├── web-sys - (https://rustwasm.github.io/wasm-bindgen/web-sys/index.html)\n       ├── js-sys - (^0.3.65)\n       ├── wasm-bindgen - (^0.2.88)\n       ├── wasm-bindgen-futures - (^0.4.38)\n       ├── wasm-bindgen-test - (^0.3.38)\n       ├── js-sys - (https://rustwasm.github.io/wasm-bindgen/)\n       ├── wasm-bindgen - (https://rustwasm.github.io/)\n       ├── wasm-bindgen-futures - (https://rustwasm.github.io/wasm-bindgen/)\n       ├── wasm-bindgen-test - ()\n    ├── yew - (https://yew.rs)\n       ├── futures - (^0.3)\n       ├── gloo - (^0.10)\n       ├── implicit-clone - (^0.4.1)\n       ├── indexmap - (^2)\n       ├── js-sys - (^0.3)\n       ├── prokio - (^0.1.0)\n       ├── rustversion - (^1)\n       ├── serde - (^1)\n       ├── slab - (^0.4)\n       ├── thiserror - (^1.0)\n       ├── tokio - (^1.32)\n       ├── tracing - (^0.1.37)\n       ├── trybuild - (^1)\n       ├── wasm-bindgen - (^0.2)\n       ├── wasm-bindgen-futures - (^0.4)\n       ├── wasm-bindgen-test - (^0.3)\n       ├── web-sys - (^0.3)\n       ├── yew-macro - (^0.21.0)\n       ├── console_error_panic_hook - ()\n       ├── futures - (https://rust-lang.github.io/futures-rs)\n       ├── gloo - (https://gloo-rs.web.app/)\n       ├── implicit-clone - (https://github.com/yewstack/implicit-clone)\n       ├── indexmap - ()\n       ├── prokio - ()\n       ├── rustversion - ()\n       ├── serde - (https://serde.rs)\n       ├── slab - ()\n       ├── thiserror - ()\n       ├── tokio - (https://tokio.rs)\n       ├── tracing - (https://tokio.rs)\n       ├── trybuild - ()\n       ├── yew-macro - (https://github.com/yewstack/yew)\n\n$ depth -c input_yew -l 2 -o\nDependencies for package 'input_yew':\n ├── yew - (https://yew.rs)\n    ├── base64ct - (^1.6.0)\n    ├── bincode - (^1.3.3)\n    ├── html-escape - (^0.2.13)\n```\n\n## 🤝 Contributing\n\nContributions and feedback are welcome! If you'd like to contribute, report an issue, or suggest an enhancement, please engage with the project on [GitHub](https://github.com/wiseaidev/depth).\nYour contributions help improve this crate for the community.\n\n## 📄 License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseaidev%2Fdepth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiseaidev%2Fdepth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseaidev%2Fdepth/lists"}