重构:源码文件改为蛇形命名,新增 .gitignore 忽略构建产物,版本升至 1.0.1

This commit is contained in:
2026-08-25 12:03:10 +08:00
parent 439549a27f
commit efb71c4850
9 changed files with 5 additions and 3 deletions
+2
View File
@@ -2,3 +2,5 @@
target/ target/
# 临时测试产物 # 临时测试产物
probe.cjo probe.cjo
# 测试宏展开产物(cjpm test 生成)
*.cj.macrocall
+2 -2
View File
@@ -2,7 +2,7 @@
仓颉(Cangjie)一次性密码(OTP)库,实现 **HOTP**(RFC 4226)与 **TOTP**(RFC 6238),提供 Base32 密钥编解码(RFC 4648)与 `otpauth://` URI 生成,可直接与 Google Authenticator / Microsoft Authenticator 等常见 OTP App 互通。 仓颉(Cangjie)一次性密码(OTP)库,实现 **HOTP**(RFC 4226)与 **TOTP**(RFC 6238),提供 Base32 密钥编解码(RFC 4648)与 `otpauth://` URI 生成,可直接与 Google Authenticator / Microsoft Authenticator 等常见 OTP App 互通。
组织:`simcu` | 包名:`otp` | 版本:`1.0.0` 组织:`simcu` | 包名:`otp` | 版本:`1.0.1`
## 特性 ## 特性
@@ -20,7 +20,7 @@
```toml ```toml
[dependencies] [dependencies]
"simcu::otp" = { path = "../../cangjie/otp-cj" } "simcu::otp" = { path = "../../cangjie/otp-cj" }
# 或发布到中央仓后:"simcu::otp" = "1.0.0" # 或发布到中央仓后:"simcu::otp" = "1.0.1"
``` ```
代码中引用: 代码中引用:
+1 -1
View File
@@ -3,7 +3,7 @@
name = "otp" name = "otp"
organization = "simcu" organization = "simcu"
description = "SimApi OTP(一次性密码)库:HOTP/TOTP 实现(RFC 4226/6238),Base32 密钥与 otpauth:// URI 生成" description = "SimApi OTP(一次性密码)库:HOTP/TOTP 实现(RFC 4226/6238),Base32 密钥与 otpauth:// URI 生成"
version = "1.0.0" version = "1.0.1"
target-dir = "" target-dir = ""
output-type = "static" output-type = "static"
View File
View File
View File
View File