{"id":4002384,"name":"codespan","ecosystem":"cargo","description":"Data structures for tracking locations in source code","homepage":"https://github.com/brendanzab/codespan","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/brendanzab/codespan","keywords_array":["diagnostics","serialization","source-location","structures","tracking"],"namespace":null,"versions_count":24,"first_release_published_at":"2018-04-16T03:42:29.850Z","latest_release_published_at":"2025-10-22T11:47:19.022Z","latest_release_number":"0.13.1","last_synced_at":"2026-05-31T13:21:00.536Z","created_at":"2022-04-12T08:23:36.355Z","updated_at":"2026-05-31T14:03:18.035Z","registry_url":"https://crates.io/crates/codespan/","install_command":"cargo install codespan","documentation_url":"https://docs.rs/codespan/","metadata":{"categories":["compilers","encoding"]},"repo_metadata":{"id":38429818,"uuid":"122145662","full_name":"brendanzab/codespan","owner":"brendanzab","description":"Beautiful diagnostic reporting for text-based programming languages.","archived":false,"fork":false,"pushed_at":"2026-02-28T10:33:10.000Z","size":1191,"stargazers_count":1292,"open_issues_count":39,"forks_count":69,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-05-21T16:32:20.336Z","etag":null,"topics":["diagnostics","error-reporting","programming-languages","rust","source-code","terminal"],"latest_commit_sha":null,"homepage":"","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/brendanzab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2018-02-20T02:11:13.000Z","updated_at":"2026-05-21T11:19:02.000Z","dependencies_parsed_at":"2024-02-11T13:23:33.001Z","dependency_job_id":"ef357db5-3dad-4f43-b03c-1de62238be43","html_url":"https://github.com/brendanzab/codespan","commit_stats":{"total_commits":487,"total_committers":33,"mean_commits":"14.757575757575758","dds":"0.39835728952772076","last_synced_commit":"57c223b08932ba8a4644f2dcc1571c87844b7c68"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/brendanzab/codespan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanzab%2Fcodespan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanzab%2Fcodespan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanzab%2Fcodespan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanzab%2Fcodespan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brendanzab","download_url":"https://codeload.github.com/brendanzab/codespan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanzab%2Fcodespan/sbom","scorecard":{"id":252205,"data":{"date":"2025-08-11","repo":{"name":"github.com/brendanzab/codespan","commit":"d91c8bb93f1dc4b35971ce50e6336b9100bfc08e"},"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":"Code-Review","score":4,"reason":"Found 10/21 approved changesets -- score normalized to 4","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":"Maintained","score":2,"reason":"1 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.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":"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/ci.yml:135: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:137: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:144: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:157: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:159: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/brendanzab/codespan/publish.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  19 third-party 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":"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:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE: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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0119 / GHSA-76w9-p8mg-j927 / GHSA-wgrg-5h56-jg27"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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"}}]},"last_synced_at":"2025-08-17T08:45:57.624Z","repository_id":38429818,"created_at":"2025-08-17T08:45:57.624Z","updated_at":"2025-08-17T08:45:57.624Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33566872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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"},"tags":[]},"repo_metadata_updated_at":"2026-05-31T14:03:18.007Z","dependent_packages_count":63,"downloads":9079923,"downloads_period":"total","dependent_repos_count":1076,"rankings":{"downloads":1.2598016385056463,"dependent_repos_count":1.2659097676620372,"dependent_packages_count":0.8188581817070748,"stargazers_count":5.214815267268826,"forks_count":8.481900849793469,"docker_downloads_count":1.3460789628396692,"average":3.0645607779627873},"purl":"pkg:cargo/codespan","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/codespan","docker_dependents_count":80,"docker_downloads_count":23458772,"usage_url":"https://repos.ecosyste.ms/usage/cargo/codespan","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/codespan/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-11-22T07:20:45.793Z","issues_count":45,"pull_requests_count":129,"avg_time_to_close_issue":16707766.0,"avg_time_to_close_pull_request":11855123.87735849,"issues_closed_count":24,"pull_requests_closed_count":106,"pull_request_authors_count":34,"issue_authors_count":32,"avg_comments_per_issue":2.8444444444444446,"avg_comments_per_pull_request":1.5426356589147288,"merged_pull_requests_count":64,"bot_issues_count":0,"bot_pull_requests_count":53,"past_year_issues_count":6,"past_year_pull_requests_count":39,"past_year_avg_time_to_close_issue":7237796.0,"past_year_avg_time_to_close_pull_request":6767076.590909091,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":22,"past_year_pull_request_authors_count":7,"past_year_issue_authors_count":6,"past_year_avg_comments_per_issue":1.6666666666666667,"past_year_avg_comments_per_pull_request":1.435897435897436,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":26,"past_year_merged_pull_requests_count":8,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanzab%2Fcodespan/issues","maintainers":[{"login":"Johann150","count":19,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Johann150"},{"login":"brendanzab","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/brendanzab"},{"login":"kaleidawave","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/kaleidawave"},{"login":"Marwes","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Marwes"},{"login":"jyn514","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jyn514"}],"active_maintainers":[{"login":"kaleidawave","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/kaleidawave"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/codespan/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/codespan/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/codespan/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/codespan/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/codespan/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/codespan/codemeta","maintainers":[{"uuid":"104445","login":"kaleidawave","name":"Ben","email":null,"url":"https://github.com/kaleidawave","packages_count":52,"html_url":"https://crates.io/users/kaleidawave","role":null,"created_at":"2025-03-20T09:10:05.659Z","updated_at":"2025-03-20T09:10:05.659Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/kaleidawave/packages"},{"uuid":"987","login":"Marwes","name":"Markus Westerlind","email":null,"url":"https://github.com/Marwes","packages_count":40,"html_url":"https://crates.io/users/Marwes","role":null,"created_at":"2022-11-07T17:50:29.297Z","updated_at":"2022-11-07T17:50:29.297Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/Marwes/packages"},{"uuid":"4622","login":"brendanzab","name":"Brendan Zabarauskas","email":null,"url":"https://github.com/brendanzab","packages_count":32,"html_url":"https://crates.io/users/brendanzab","role":null,"created_at":"2022-11-07T17:50:29.309Z","updated_at":"2022-11-07T17:50:29.309Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/brendanzab/packages"}]}