{"id":32135265,"url":"https://github.com/janlikar/cargo-clone","last_synced_at":"2025-10-21T03:56:41.607Z","repository":{"id":41831647,"uuid":"49506565","full_name":"JanLikar/cargo-clone","owner":"JanLikar","description":"A cargo subcommand to fetch the source code of a Rust crate","archived":false,"fork":false,"pushed_at":"2025-10-20T06:12:44.000Z","size":512,"stargazers_count":109,"open_issues_count":7,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-21T03:56:37.416Z","etag":null,"topics":["cargo","cargo-subcommand","rust-crate"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JanLikar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-12T14:48:49.000Z","updated_at":"2025-09-27T18:57:29.000Z","dependencies_parsed_at":"2023-12-25T09:44:54.775Z","dependency_job_id":"863c98f0-0af6-4f23-9d76-43f57daa8290","html_url":"https://github.com/JanLikar/cargo-clone","commit_stats":{"total_commits":108,"total_committers":16,"mean_commits":6.75,"dds":0.7037037037037037,"last_synced_commit":"e7eec6700757b6f07700d634fd9f0e8d1cb521d4"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/JanLikar/cargo-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLikar%2Fcargo-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLikar%2Fcargo-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLikar%2Fcargo-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLikar%2Fcargo-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanLikar","download_url":"https://codeload.github.com/JanLikar/cargo-clone/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLikar%2Fcargo-clone/sbom","scorecard":{"id":70695,"data":{"date":"2025-08-11","repo":{"name":"github.com/JanLikar/cargo-clone","commit":"54c890b478ef5758eb1b144a2a239d64993a315b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":5,"reason":"5 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":3,"reason":"Found 3/9 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/JanLikar/cargo-clone/rust.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2025-0021 / GHSA-2frx-2596-x5r6","Warn: Project is vulnerable to: RUSTSEC-2023-0072 / GHSA-xphf-cx8h-7q9g","Warn: Project is vulnerable to: GHSA-q445-7m23-qrmw","Warn: Project is vulnerable to: RUSTSEC-2024-0357","Warn: Project is vulnerable to: RUSTSEC-2025-0004 / GHSA-rpmj-rpgj-qmpm","Warn: Project is vulnerable to: GHSA-4fcv-w3qc-ppgg","Warn: Project is vulnerable to: RUSTSEC-2025-0022"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T03:46:04.549Z","repository_id":41831647,"created_at":"2025-08-15T03:46:04.549Z","updated_at":"2025-08-15T03:46:04.549Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280200867,"owners_count":26289477,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","rust-crate"],"created_at":"2025-10-21T03:56:40.278Z","updated_at":"2025-10-21T03:56:41.600Z","avatar_url":"https://github.com/JanLikar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cargo-clone\n\ncargo-clone can be used to fetch the source code of a Rust crate from a registry.\n\n    cargo clone [FLAGS] [OPTIONS] \u003ccrate\u003e... [-- \u003cdirectory\u003e]\n\ncargo-clone is a [Cargo subcommand](https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands).\n\n# Installation \u0026 upgrading\n\n    cargo install cargo-clone\n\n## Usage\n\n    cargo clone [FLAGS] [OPTIONS] \u003ccrate\u003e... [-- \u003cdirectory\u003e]\n\nTo download cargo-clone's code you would use\n\n    cargo clone cargo-clone\n\n\n### Specifying versions\nThe latest available version is downloaded by default.\nIf specific versions are desired, semver specifiers can be appended to crate names. \n\n\n    cargo clone cargo-clone@1.0.0\n\nVersions are matched exactly by default, but other kinds of matching are also allowed.\n\n    cargo clone cargo-clone@~1.0.0\n\n\n### Cloning from git repositories\nUsing the `--git` flag runs `git clone` on each git repository url extracted from crate's metadata.\n\nThese lines are roughly equivalent:\n\n    cargo clone --git cargo-clone\n    git clone https://github.com/janlikar/cargo-clone\n\nThe command fails if a crate does not have the repository field set to a valid git repository.\n\n\n### Output directory\nCrates are downloaded into `$PWD/$CRATE_NAME` by default.\n\nThe output dir can be specified as the last argument:\n\n    cargo clone cargo-clone -- foo  # Downloads into $PWD/foo\n\nIf multiple packages are downloaded at the same time or if the directory contains a trailing slash,\nthe packages will be downloaded into subdirectories of the path provided.\n\n    cargo clone cargo-clone -- pkgs/  # Creates pkgs/cargo-clone/\n    cargo clone cargo serde -- pkgs2/  # Creates pkgs2/cargo and pkgs2/serde\n\n\n## Contributing\nContributions are welcome. Feel free to open a PR into develop branch.\n\nWhen running locally, you can run using `cargo run -- clone CRATE` or `cargo-clone clone CRATE`.\n\nBy opening a PR you agree to license your code under Apache/MIT licenses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlikar%2Fcargo-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanlikar%2Fcargo-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlikar%2Fcargo-clone/lists"}