{"id":21906230,"url":"https://github.com/alfex4936/cargo-depsize","last_synced_at":"2025-07-17T17:38:15.428Z","repository":{"id":151852252,"uuid":"619832521","full_name":"Alfex4936/cargo-depsize","owner":"Alfex4936","description":"Rust cargo utility that calculates and displays the total size of each dependency in your Rust project.","archived":false,"fork":false,"pushed_at":"2024-11-11T02:04:05.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T10:55:33.360Z","etag":null,"topics":["cargo","cargo-subcommand","cargotool","depsize","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/cargo-depsize","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/Alfex4936.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-27T14:09:03.000Z","updated_at":"2024-11-18T06:28:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3eeb5e9-7a28-4fbc-884f-619b0dad4834","html_url":"https://github.com/Alfex4936/cargo-depsize","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Alfex4936/cargo-depsize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfex4936%2Fcargo-depsize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfex4936%2Fcargo-depsize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfex4936%2Fcargo-depsize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfex4936%2Fcargo-depsize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alfex4936","download_url":"https://codeload.github.com/Alfex4936/cargo-depsize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alfex4936%2Fcargo-depsize/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265637201,"owners_count":23802661,"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","cargo-subcommand","cargotool","depsize","rust"],"created_at":"2024-11-28T16:43:04.673Z","updated_at":"2025-07-17T17:38:15.423Z","avatar_url":"https://github.com/Alfex4936.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `cargo-depsize`\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/a4ef06ba-f3fb-484a-b907-db234e873f60\" alt=\"logo\" width=\"200\"/\u003e\n\u003c/p\u003e\n\n`cargo-depsize` is a Rust cargo utility that calculates and displays the total size of each dependency in your Rust project.\n\n# Installation\n------------\n\nInstall `cargo-depsize` using the following command:\n\n```sh\ncargo install cargo-depsize\n```\n\n# Usage\n-----\n\nAfter installation, simply run the following command in your Rust project directory:\n\n```sh\ncargo depsize\n```\n\nThis command will display the size of each dependency package in your Rust project, as well as the total size of all dependencies.\n\n# Example Output\n--------------\n\n### Cargo.toml\n\n```toml\n[dependencies]\nactix-rt = \"2\"\nactix-http = \"3\"\nactix-web = \"4\"\nactix-cors = \"0.6\"\nserde = { version = \"1.0\", features = [\"derive\"] }\nserde_json = \"1.0\"\nserde_derive = \"1.0\"\nreqwest = { version = \"0.11\", features = [\"json\", \"blocking\"] }\nscraper = \"0.15\"\nchrono = \"0.4\"\nkakao-rs = \"0.3\"\nrand = \"0.8\"\nlazy_static = \"1.4.0\"\nmongodb = \"2\"\nfutures = \"0.3\"\n```\n\n### cargo depsize\n\n```python\nactix-cors (v0.6.4)       : 120.79KB (123690 bytes)\nactix-http (v3.3.1)       : 768.80KB (787252 bytes)\nactix-rt (v2.8.0)         : 71.69KB (73408 bytes)\nactix-web (v4.3.1)        : 1.00MB (1049274 bytes)\nchrono (v0.4.24)          : 985.68KB (1009338 bytes)\nfutures (v0.3.27)         : 303.00KB (310269 bytes)\nkakao-rs (v0.3.4)         : 78.91KB (80803 bytes)\nlazy_static (v1.4.0)      : 29.38KB (30081 bytes)\nmongodb (v2.4.0)          : 4.27MB (4473014 bytes)\nrand (v0.8.5)             : 342.29KB (350509 bytes)\nreqwest (v0.11.15)        : 690.98KB (707563 bytes)\nscraper (v0.15.0)         : 85.43KB (87484 bytes)\nserde (v1.0.158)          : 497.03KB (508959 bytes)\nserde_derive (v1.0.158)   : 305.38KB (312706 bytes)\nserde_json (v1.0.94)      : 669.40KB (685469 bytes)\n\u003e Total size: 10.10MB (10589819 bytes)\n```\n\n# Dependencies\n------------\n\n`cargo-depsize` is built on top of the following dependencies:\n\n*   [anyhow](https://crates.io/crates/anyhow) - for easy error handling\n*   [cargo](https://crates.io/crates/cargo) - for working with Rust workspaces and packages\n*   [tokio](https://crates.io/crates/tokio) - for asynchronous file metadata retrieval\n\n# Contributing\n------------\n\nContributions are welcome! If you have any suggestions or improvements, feel free to create a pull request or open an issue on the repository.\n\n# License\n-------\n\n`cargo-depsize` is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfex4936%2Fcargo-depsize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfex4936%2Fcargo-depsize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfex4936%2Fcargo-depsize/lists"}