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