修正 README 依赖版本号
- Quick Start 依赖版本从 0.3 改为 0.1 - no_std 依赖版本从 0.3 改为 0.1 - 与当前 Cargo.toml 版本 0.1.1 保持一致
This commit is contained in:
@@ -31,7 +31,7 @@ Add to `Cargo.toml`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libsmx = "0.3"
|
libsmx = "0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
### SM3 Hash
|
### SM3 Hash
|
||||||
@@ -154,7 +154,7 @@ For `no_std` without `alloc`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libsmx = { version = "0.3", default-features = false }
|
libsmx = { version = "0.1", default-features = false }
|
||||||
```
|
```
|
||||||
|
|
||||||
## Benchmarks
|
## Benchmarks
|
||||||
|
|||||||
+2
-2
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libsmx = "0.3"
|
libsmx = "0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
### SM3 哈希
|
### SM3 哈希
|
||||||
@@ -186,7 +186,7 @@ assert_eq!(decrypted, plaintext);
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libsmx = { version = "0.3", default-features = false }
|
libsmx = { version = "0.1", default-features = false }
|
||||||
```
|
```
|
||||||
|
|
||||||
无 `alloc` 时,SM3 哈希、SM3 HMAC、SM2 签名/验签、SM4 ECB 仍可用(固定大小数组 API)。
|
无 `alloc` 时,SM3 哈希、SM3 HMAC、SM2 签名/验签、SM4 ECB 仍可用(固定大小数组 API)。
|
||||||
|
|||||||
Reference in New Issue
Block a user