准备发布 v0.1.0
- 添加 Apache-2.0 许可证 - 添加 CHANGELOG.md 变更日志 - 添加 SECURITY.md 安全策略 - 添加 README.zh-CN.md 中文文档 - 添加 rustfmt.toml 代码格式配置 - 添加 scripts/pre_publish_check.sh 发布检查脚本 - 更新 Cargo.toml 元数据(分类、关键词、文档链接) - 完善 README.md 示例代码 - 优化 SM2/SM9 性能和测试覆盖率
This commit is contained in:
+11
-3
@@ -4,18 +4,26 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.72.0"
|
||||
license = "Apache-2.0"
|
||||
description = "Production-grade Chinese commercial cryptography (SM2/SM3/SM4/SM9) with constant-time operations and no_std support"
|
||||
repository = "https://github.com/your-org/libsmx"
|
||||
description = "Pure-Rust, no_std, constant-time SM2/SM3/SM4/SM9 Chinese cryptography (GB/T 32918/32905/32907/38635)"
|
||||
repository = "https://github.com/aspect-building/libsmx"
|
||||
documentation = "https://docs.rs/libsmx"
|
||||
homepage = "https://github.com/your-org/libsmx"
|
||||
homepage = "https://github.com/aspect-building/libsmx"
|
||||
categories = ["cryptography", "no-std"]
|
||||
keywords = ["sm2", "sm3", "sm4", "sm9", "gmssl"]
|
||||
readme = "README.md"
|
||||
exclude = [
|
||||
"benches/",
|
||||
"tests/",
|
||||
"docs/",
|
||||
".github/",
|
||||
"scripts/",
|
||||
"reference/",
|
||||
"*.sh",
|
||||
"*.md",
|
||||
"!README.md",
|
||||
"!CHANGELOG.md",
|
||||
"!SECURITY.md",
|
||||
".claude*",
|
||||
]
|
||||
|
||||
[lib]
|
||||
|
||||
Reference in New Issue
Block a user