公开记录
软件健康报告模式 0.31.0 · 指标 2.5.0 · 2026-08-11 08:05 UTC

knurling-rs / defmt

Efficient, deferred formatting for logging on embedded systems

RustApache-2.0★ 1,209 星标⑂ 129 复刻始于 2020年7月在 GitHub 上查看 ↗
类型命令行工具网络服务如何判定

knurling-rs/defmt 的健康指数为 100 分中的 88 分,处于「优秀」区间。 其得分最高的类别是Vitality(86/100),最低的是AI Readiness(50/100)。 最近一次更新在今天。 近期的大部分工作由 2 位贡献者完成。

88
总分 / 100
优秀

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

88
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 74 经校准后在公布的指数量表上为 88(记录校准 2026-08-02)。

所有权

Knurling组织
489 关注者22 个公开仓库始于 2016年11月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

软件包生态系统

注册表软件包版本月下载量版本数最近发布标签
crates.iodefmt1.1.14,741,0282938 天前formatterformattingknurlingloggerloggingno-stdembeddedvalue-formatting
crates.iodefmt-print1.1.04,1632090 天前formattingknurlingloggingembedded
crates.ioxtask指向其他仓库——不计分0.1.4243541 天前automationcodesignmacosreleasextaskcommand-line-utilities
crates.iodefmt-macros1.1.14,199,0782338 天前defmtknurling
crates.iodefmt-parser1.0.04,057,05413496 天前defmtknurling
crates.iodefmt-decoder1.1.033,80224186 天前defmtknurling
crates.ioqemu-run0.3.038290 天前formattingknurlingloggingqemuembedded

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

86优秀 · 占总体的 21%
评分方式
36/36推送新近度 — 最近一次推送于 0 天前
24.2/36提交节奏 — 52 周中有 35 周有提交
18/18提交量 — 最近一年 171 次提交
10/10OpenSSF Scorecard:Maintained — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year171
human_commit_share1
days_since_last_push0
active_weeks_last_year35

发布纪律

84优秀
评分方式
27/27有发布版本 — 已发布 23 个发布版本
36/36发布时效 — 最近一次发布版本于 38 天前
12.6/27发布节奏 — 约每 123.4 天发布一次
0/10OpenSSF Scorecard:Signed-Releases — 无数据
所用输入
releases_count23
latest_release_tagdefmt-v1.1.1
releases_from_tags
days_since_latest_release38
mean_days_between_releases123.4
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

72良好 · 占总体的 17%
评分方式
50/60星标 — 1,209 个星标
17.6/25复刻 — 129 个复刻
5.3/15关注者 — 10 位关注者
所用输入
forks129
stars1,209
watchers10
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

50中等
评分方式
22.5/22.5README
22.5/22.5许可证 — 可识别的许可证(Apache-2.0)
0/18CONTRIBUTING 指南
0/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges0
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template
评分方式
80/80月度下载量 — crates 合计每月 13,035,163 次下载
0/20注册表被依赖数 — 该生态系统不报告此项
所用输入
packagesdefmt, defmt-print, defmt-macros, defmt-parser, defmt-decoder, qemu-run
dependents
ecosystemscrates
total_downloads65,257,402
monthly_downloads13,035,163
已排除计分(无数据或不适用):注册表被依赖数。 其余权重已重新归一化。

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

77良好 · 占总体的 23%
评分方式
25.2/54巴士系数 — 2 位贡献者贡献了半数提交
15/22.5提交分布 — 头号贡献者编写了 33% 的提交
13.5/13.5贡献者广度 — 81 位贡献者
10/10OpenSSF Scorecard:Contributors — project has 50 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled81
top_contributor_share0.334
评分方式
31.4/42议题解决 — 75% 的议题已关闭
27.4/30PR 接受 — 已裁定的 PR 中 593/650 已合并
6.5/13Newcomer PR acceptance — 30 天内首次贡献者的 PR 已合并 1/2
15/15OpenSSF Scorecard:Code-Review — all changesets reviewed
所用输入
merged_prs593
open_issues106
closed_issues313
prs_merged_7d1
prs_decided_7d1
prs_merged_30d7
prs_decided_30d9
issue_closed_ratio0.747
closed_unmerged_prs57
first_time_authors_30d2
first_time_prs_merged_30d1
first_time_prs_decided_30d2
评分方式
30/30所有权背书 — 组织持有
0/20已验证域名
19.3/25所有者影响力 — knurling-rs 有 489 位关注者
21.9/25既往记录 — 22 个公开仓库,账户约 9 年
所用输入
followers489
owner_typeOrganization
is_verified
owner_loginknurling-rs
public_repos22
account_age_days3,563
评分方式
25/25已发布且可解析 — crates 上有 6 个软件包
35/35发布时效 — 最近一次发布于 38 天前
20/20版本历史 — 29 个已发布版本
20/20未被弃用 — 活跃,未被弃用或撤回
所用输入
packagesdefmt, defmt-print, defmt-macros, defmt-parser, defmt-decoder, qemu-run
ecosystemscrates
any_deprecated
min_days_since_publish38

工程质量

基础的工程与文档实践是否到位?

67良好 · 占总体的 19%

工程实践

68良好
评分方式
24/24CI 工作流 — 3 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests — 14 out of 14 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点 — https://defmt.ferrous-systems.com/
10/10仓库描述
10/10主题标签 — 5 个主题标签
0/10Wiki
所用输入
topicslogging, embedded-systems, rust, rust-tools, ferrous-systems
has_wiki
homepagehttps://defmt.ferrous-systems.com/
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

69良好 · 占总体的 16%

安全态势

61中等
评分方式
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — 无数据
2.5/2.5CI-Tests — 14 out of 14 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Review — all changesets reviewed
2.5/2.5Contributors — project has 50 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5许可证 — license file detected
7.5/7.5Maintained — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — 无数据
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
4.5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — 无数据
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6.1
已排除计分(无数据或不适用):branch_protection, packaging, signed_releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告 — 没有直接依赖携带已知公告
25/25间接依赖不含已知公告 — 没有间接依赖携带已知公告
0/40没有长期未处理的公告 — 没有公告带有发布日期
所用输入
sourceosv
advisories0
affected_packages0
assessed_packages28
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
已排除计分(无数据或不适用):没有长期未处理的公告。 其余权重已重新归一化。 比对的是 crates:defmt@1.1.1 的运行时依赖闭包——安装已发布的软件包时真正被拉取进来的内容——共 28 个软件包。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

50中等 · 占总体的 4%
评分方式
0/45代理指令 — 没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
21.3/40可读的提交历史 — 100 次人类提交中有 40 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
legible_history_share0.4
agent_instruction_files
agent_instruction_max_bytes
评分方式
12.6/18一条命令的引导启动 — Cargo.toml, decoder/Cargo.toml, decoder/defmt-json-schema/Cargo.toml(工具链约定,无任务运行器)
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查 — Rust(静态类型)
10/10可复现环境 — lockfile
0/10已体现的代理实践 — 最近 100 次提交中没有代理编写的提交
0/8自动化维护 — 未观察到自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesCargo.lock
has_dockerfile
typed_language
bootstrap_files
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0
toolchain_manifestsCargo.toml, decoder/Cargo.toml, decoder/defmt-json-schema/Cargo.toml, defmt-03/Cargo.toml, defmt/Cargo.toml, firmware/Cargo.toml, firmware/defmt-itm/Cargo.toml, firmware/defmt-rtt/Cargo.toml, firmware/defmt-semihosting/Cargo.toml, firmware/defmt-test/Cargo.toml, firmware/defmt-test/macros/Cargo.toml, firmware/panic-probe/Cargo.toml, firmware/qemu/Cargo.toml, macros/Cargo.toml, parser/Cargo.toml, print/Cargo.toml, qemu-run/Cargo.toml, xtask/Cargo.toml
dependency_bot_commit_share0
评分方式
45/45可类型检查的代码 — Rust(静态类型)
55/55可控的文件大小 — 采样的 176 个源文件中有 0 个超过 60KB
所用输入
primary_languageRust
largest_source_bytes33,730
source_files_sampled176
oversized_source_files0
评分方式
0/40API 模式(OpenAPI/GraphQL/proto)
0/20MCP 服务器
40/40可运行示例 — examples
所用输入
example_dirsexamples
has_mcp_signal
api_schema_files

关键数据

1,209GitHub 星标
81贡献者
171最近 12 个月提交数
0距最近推送天数
23发布版本数
2巴士系数(bus factor)
106开放议题
crates.io软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • crates package 'xtask' points at a different repository (https://github.com/arcboxlabs/xtask); excluded from ecosystem scoring
  • GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

更多细节

Star 与 Fork 历史 0 ★ / 129 ⇿
0Star
129Fork
23发布

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

025507510012515012932020-082023-082026-07
主版本 0次版本 0修订 0

每个点涵盖 6 天。

OpenSSF Scorecard 6.1 / 10
6.1综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-08-11 08:05 UTC

10Binary-Artifactsno binaries found in the repo
不适用Branch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests14 out of 14 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 50 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
9Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
直接依赖 42
注册表软件包版本约束清单文件
crates.iobyteorder1decoder/Cargo.toml
crates.iocolored2decoder/Cargo.toml
crates.iodefmt-parser=1.0.0decoder/Cargo.toml
crates.ioryu1decoder/Cargo.toml
crates.ionom7decoder/Cargo.toml
crates.iotime0.3decoder/Cargo.toml
crates.iodissimilar1decoder/Cargo.toml
crates.iolog0.4decoder/Cargo.toml
crates.iodefmt-json-schema0.1decoder/Cargo.toml
crates.ioanyhow1.0.65decoder/Cargo.toml
crates.iogimli0.29decoder/Cargo.toml
crates.ioobject0.36decoder/Cargo.toml
crates.ioserde1decoder/Cargo.toml
crates.ioserde_json1decoder/Cargo.toml
crates.ioregex1decoder/Cargo.toml
crates.ioalterable_logger1decoder/Cargo.toml
crates.iocbor-edn0.0.6decoder/Cargo.toml
crates.iodefmt101defmt-03/Cargo.toml
crates.iodefmt-macros=1.1.1defmt/Cargo.toml
crates.iobitflags1defmt/Cargo.toml
crates.iodefmt-parser=1.0.0macros/Cargo.toml
crates.ioproc-macro21macros/Cargo.toml
crates.ioquote1macros/Cargo.toml
crates.iosyn2macros/Cargo.toml
crates.iothiserror2parser/Cargo.toml
crates.ioanyhow1print/Cargo.toml
crates.ioclap4.0print/Cargo.toml
crates.iodefmt-decoder1print/Cargo.toml
crates.iogoblin0.9print/Cargo.toml
crates.iolog0.4print/Cargo.toml
crates.ionotify8print/Cargo.toml
crates.iotokio1.38print/Cargo.toml
crates.iotokio-serial5.4print/Cargo.toml
crates.ioanyhow1qemu-run/Cargo.toml
crates.ioclap4.0qemu-run/Cargo.toml
crates.iodefmt-decoder1qemu-run/Cargo.toml
crates.iolog0.4.28qemu-run/Cargo.toml
crates.ioanyhow1xtask/Cargo.toml
crates.ioclap4xtask/Cargo.toml
crates.iocolored2xtask/Cargo.toml
crates.iosimilar2.2xtask/Cargo.toml
crates.iotempfile3.3xtask/Cargo.toml
全部依赖 未采集

本报告未能采集到解析后的依赖集合:GitHub dependency-graph SBOM unavailable (404); the dependency graph may be disabled for this repository

依赖安全公告 0

安装 crates:defmt@1.1.1 会引入 28 个包(直接与传递):其中 0 个存在已知公告,0 个为直接依赖。

没有已知公告影响已评估的依赖。

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.5.0、模式 v0.31.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计crates.io.