From 69767aee00b8d44460e6f4c85d35f2be089add81 Mon Sep 17 00:00:00 2001 From: huangxt Date: Sun, 8 Mar 2026 11:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20README=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Quick Start 依赖版本从 0.3 改为 0.1 - no_std 依赖版本从 0.3 改为 0.1 - 与当前 Cargo.toml 版本 0.1.1 保持一致 --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6d7e79d..6393dbe 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Add to `Cargo.toml`: ```toml [dependencies] -libsmx = "0.3" +libsmx = "0.1" ``` ### SM3 Hash @@ -154,7 +154,7 @@ For `no_std` without `alloc`: ```toml [dependencies] -libsmx = { version = "0.3", default-features = false } +libsmx = { version = "0.1", default-features = false } ``` ## Benchmarks diff --git a/README.zh-CN.md b/README.zh-CN.md index a1801f5..02b1449 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -31,7 +31,7 @@ ```toml [dependencies] -libsmx = "0.3" +libsmx = "0.1" ``` ### SM3 哈希 @@ -186,7 +186,7 @@ assert_eq!(decrypted, plaintext); ```toml [dependencies] -libsmx = { version = "0.3", default-features = false } +libsmx = { version = "0.1", default-features = false } ``` 无 `alloc` 时,SM3 哈希、SM3 HMAC、SM2 签名/验签、SM4 ECB 仍可用(固定大小数组 API)。