From 6fa267d4faaa6775bf91f01cd45fa88df03df95c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 29 Jun 2023 14:17:12 +0800 Subject: [PATCH] =?UTF-8?q?build(deps):=E8=B0=83=E6=95=B4=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=BE=9D=E8=B5=96=EF=BC=8C=E5=BB=BA=E7=AB=8B=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6=E5=A4=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 15 ++++++++++++++- README.md | 2 -- tests/.gitkeep | 0 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 tests/.gitkeep diff --git a/Cargo.toml b/Cargo.toml index 3b699e0..203d286 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,21 @@ [package] -name = "toolbox" +name = "rs_toolbox" version = "0.1.0" edition = "2021" +[lib] +crate-type = ["dylib", "rlib"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +aes = "0.8.3" +base64 = "0.21.2" +cbc = "0.1.2" +des = "0.8.1" +hex = "0.4.3" +hmac-sha512 = "1.1.5" +md-5 = "0.10.5" +rand = "0.8.5" +sha1 = "0.10.5" +uuid = { version = "1.4.0", features = ["v4", "fast-rng"] } diff --git a/README.md b/README.md index 848c7c8..5099d04 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Rust 中可以使用的常用辅助功能工具箱。主要配备以下功能: - [ ] AES-CBC 便捷加解密算法 - [ ] ZerosPadding - [ ] Pkcs7Padding - - [ ] AES-GCM 便捷加解密算法 - [ ] DES-CBC 便捷加解密算法 - [ ] ZerosPadding - [ ] Pkcs7Padding @@ -21,7 +20,6 @@ Rust 中可以使用的常用辅助功能工具箱。主要配备以下功能: - [ ] 改进版雪花 ID 生成器(短主机精简日期版) - [ ] UUID 生成器 - [ ] short UUID 生成器 - - [ ] GUID 生成器 - 签名算法 - [ ] RSA 签名算法 - 验证码生成器 diff --git a/tests/.gitkeep b/tests/.gitkeep new file mode 100644 index 0000000..e69de29