From 94cc9f8998228d2b4f372e228919a5bab9c6b9ec Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Fri, 5 Jul 2024 20:59:01 +0800 Subject: remove rand package --- decryptor/Cargo.lock | 54 ---------------------------------------------------- decryptor/Cargo.toml | 1 - 2 files changed, 55 deletions(-) diff --git a/decryptor/Cargo.lock b/decryptor/Cargo.lock index 3da45c6..ee6196f 100644 --- a/decryptor/Cargo.lock +++ b/decryptor/Cargo.lock @@ -26,7 +26,6 @@ version = "0.1.0" dependencies = [ "hex", "openssl", - "rand", ] [[package]] @@ -44,17 +43,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - [[package]] name = "hex" version = "0.4.3" @@ -117,12 +105,6 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - [[package]] name = "proc-macro2" version = "1.0.86" @@ -141,36 +123,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - [[package]] name = "syn" version = "2.0.68" @@ -193,9 +145,3 @@ name = "vcpkg" version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" diff --git a/decryptor/Cargo.toml b/decryptor/Cargo.toml index 918bd84..80d0338 100644 --- a/decryptor/Cargo.toml +++ b/decryptor/Cargo.toml @@ -6,4 +6,3 @@ edition = "2021" [dependencies] hex = "0.4.3" openssl = "0.10.64" -rand = "0.8.5" -- cgit v1.2.3