Files
QRGen/.editorconfig
Serendipity ce8063431e docs: 开源规范化 — doc comments + 社区文件 + 示例代码 + crates.io 就绪
- 为 core 公开 API 添加完整 doc comments(rustdoc 可用)
- 新增 .editorconfig / CONTRIBUTING / CODE_OF_CONDUCT / SECURITY
- 新增 Issue 模板(bug + feature)+ PR 模板
- 新增 3 个代码示例(examples/)
- 更新 Cargo.toml 元数据(description/repository/keywords/categories/MSRV)
- 更新 README + CHANGELOG
2026-06-19 18:56:28 +08:00

30 lines
491 B
INI

# EditorConfig — 跨编辑器统一编码风格
# https://editorconfig.org
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.rs]
indent_style = space
indent_size = 4
[*.{ts,tsx,js,jsx,json,css,html,md,yaml,yml}]
indent_style = space
indent_size = 2
[*.toml]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4
[*.{png,jpg,jpeg,gif,svg,ico,ttf,woff,woff2,eot}]
insert_final_newline = false