{"id":15566993,"url":"https://github.com/sensorfu/cargo-bom","last_synced_at":"2025-08-21T02:31:57.928Z","repository":{"id":21588525,"uuid":"93338160","full_name":"sensorfu/cargo-bom","owner":"sensorfu","description":"Bill of Materials for Rust Crates","archived":false,"fork":false,"pushed_at":"2024-09-27T12:34:16.000Z","size":390,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-10T10:03:26.649Z","etag":null,"topics":["bill-of-materials","hacktoberfest","rust","rustlang"],"latest_commit_sha":null,"homepage":"","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/sensorfu.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}},"created_at":"2017-06-04T20:00:43.000Z","updated_at":"2024-11-27T07:41:52.000Z","dependencies_parsed_at":"2024-11-01T03:02:09.374Z","dependency_job_id":"31ae89a2-0ab9-48e0-8d12-00cbf2d9a0ad","html_url":"https://github.com/sensorfu/cargo-bom","commit_stats":{"total_commits":97,"total_committers":1,"mean_commits":97.0,"dds":0.0,"last_synced_commit":"08bc57f1d11a617c19c3165a79a9cd34df555e37"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorfu%2Fcargo-bom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorfu%2Fcargo-bom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorfu%2Fcargo-bom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sensorfu%2Fcargo-bom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sensorfu","download_url":"https://codeload.github.com/sensorfu/cargo-bom/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230479864,"owners_count":18232630,"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":["bill-of-materials","hacktoberfest","rust","rustlang"],"created_at":"2024-10-02T17:09:30.960Z","updated_at":"2024-12-19T18:18:03.029Z","avatar_url":"https://github.com/sensorfu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bill of Materials for Rust Crates\n\n![Crates.io](https://img.shields.io/crates/v/cargo-bom.svg)\n\n\u003e A Software Bill of Materials (software BOM) is a list of components in a piece\n\u003e of software. Software vendors often create products by assembling open source\n\u003e and commercial software components. The software BOM describes the components\n\u003e in a product. It is analogous to a list of ingredients on food packaging.\n\nSource: [Wikipedia](https://en.wikipedia.org/wiki/Software_bill_of_materials)\n\nThis tool (`cargo bom`) can be used to construct Bill of Materials for software\nusing [Cargo](http://doc.crates.io/) package manager.\n\nThe output of `cargo bom` has two sections. First it prints out a table with all\ntop level dependencies, version numbers and names of licenses. Then it prints\nall license texts found from depended projects (files matching globs \"LICENSE*\"\nand \"UNLICENSE*\").\n\n## Example usage\n\n```console\n$ cargo bom \u003eBOM.txt\n$ head BOM.txt\n┌───────────┬─────────┬─────────────────┐\n│ Name      │ Version │ Licenses        │\n├───────────┼─────────┼─────────────────┤\n│ anyhow    │ 1.0.68  │ Apache-2.0, MIT │\n├───────────┼─────────┼─────────────────┤\n│ cargo     │ 0.67.0  │ Apache-2.0, MIT │\n├───────────┼─────────┼─────────────────┤\n│ itertools │ 0.10.5  │ Apache-2.0, MIT │\n├───────────┼─────────┼─────────────────┤\n│ structopt │ 0.3.26  │ Apache-2.0, MIT │\n\n```\n\n### Windows\n\nIn Windows the output to file can be written via the following PowerShell command:\n\n```powershell\ncargo bom | Out-File -FilePath BOM.txt -Encoding oem\n```\n\n# Bill of Materials\n\nThe Bill of Materials for this project can be found from [BOM.txt](./BOM.txt).\n\n# License\n\n`cargo bom` is distributed under the terms of the MIT license.\n\nSee [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensorfu%2Fcargo-bom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensorfu%2Fcargo-bom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensorfu%2Fcargo-bom/lists"}