Skip to content

README: add Crates.io download-count badge beside version badge#33

Merged
SF-Zhou merged 2 commits into
mainfrom
copilot/add-crate-download-badge
Mar 10, 2026
Merged

README: add Crates.io download-count badge beside version badge#33
SF-Zhou merged 2 commits into
mainfrom
copilot/add-crate-download-badge

Conversation

Copilot AI commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

README 头部 badge 缺少 crate 下载次数展示,导致包活跃度信息不完整。本 PR 在现有版本 badge 邻位补充下载次数 badge,保持现有 badge 风格与链接目标一致。

  • Badge 更新(README 顶部)

    • Crates.io 版本 badge 旁新增 Crates.io Downloads badge
    • 两者均链接到 https://crates.io/crates/lockmap,便于统一跳转入口
  • 变更片段

[![Crates.io](https://img.shields.io/crates/v/lockmap.svg)](https://crates.io/crates/lockmap)
[![Crates.io Downloads](https://img.shields.io/crates/d/lockmap.svg)](https://crates.io/crates/lockmap)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: SF-Zhou <7477599+SF-Zhou@users.noreply.github.com>
@SF-Zhou SF-Zhou marked this pull request as ready for review March 10, 2026 07:59
Copilot AI review requested due to automatic review settings March 10, 2026 07:59
Copilot AI changed the title [WIP] Add crate download count badge to README README: add Crates.io download-count badge beside version badge Mar 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a crates.io download-count badge to the README alongside the existing crates.io version badge, following the repository’s current badge list formatting.

Changes:

  • Add a shields.io crates download badge (crates/d/lockmap) linked to the crate page.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Mar 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2e010eb) to head (be33490).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #33   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines         1533      1533           
=========================================
  Hits          1533      1533           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SF-Zhou SF-Zhou merged commit e085689 into main Mar 10, 2026
16 checks passed
@SF-Zhou SF-Zhou deleted the copilot/add-crate-download-badge branch March 10, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants