diff --git a/Cargo.lock b/Cargo.lock index 5f02ebe..df0ea2b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1271,12 +1271,6 @@ version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - [[package]] name = "libredox" version = "0.1.3" @@ -1320,7 +1314,6 @@ dependencies = [ "openssl", "parking_lot", "rand", - "rand_distr", "regex", "reqwest", "rlimit", @@ -1694,7 +1687,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -1977,16 +1969,6 @@ dependencies = [ "getrandom", ] -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand", -] - [[package]] name = "redox_syscall" version = "0.4.1" diff --git a/crates/librqbit/Cargo.toml b/crates/librqbit/Cargo.toml index ba6a09d..6026a55 100644 --- a/crates/librqbit/Cargo.toml +++ b/crates/librqbit/Cargo.toml @@ -17,7 +17,7 @@ webui = [] timed_existence = [] default-tls = ["reqwest/default-tls"] rust-tls = ["reqwest/rustls-tls"] -storage_middleware = ["lru", "rand_distr"] +storage_middleware = ["lru"] storage_examples = [] [dependencies] @@ -73,8 +73,6 @@ bytes = "1.5.0" rlimit = "0.10.1" async-stream = "0.3.5" memmap2 = { version = "0.9.4" } - -rand_distr = { version = "0.4.3", optional = true } lru = { version = "0.12.3", optional = true } [dev-dependencies]