diff --git a/Cargo.lock b/Cargo.lock index 5fb4557..5e0e0e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -330,6 +330,18 @@ dependencies = [ "serde_json", ] +[[package]] +name = "async-compression" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac" +dependencies = [ + "compression-codecs", + "compression-core", + "pin-project-lite", + "tokio", +] + [[package]] name = "async-graphql" version = "7.2.1" @@ -802,6 +814,23 @@ dependencies = [ "memchr", ] +[[package]] +name = "compression-codecs" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf" +dependencies = [ + "compression-core", + "flate2", + "memchr", +] + +[[package]] +name = "compression-core" +version = "0.4.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789" + [[package]] name = "concurrent-queue" version = "2.5.0" @@ -1323,13 +1352,14 @@ dependencies = [ "chrono", "csv", "env_logger", + "flate2", "futures", "hmac", "jsonwebtoken", "log", "mockito", "once_cell", - "rand 0.8.5", + "rand 0.10.1", "redis", "reqwest", "rusqlite", @@ -2730,9 +2760,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.8.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -3416,7 +3446,7 @@ dependencies = [ "num-integer", "num-traits", "p256", - "rand 0.8.5", + "rand 0.8.7", "rand_chacha 0.3.1", "sec1", "sha2", @@ -3469,7 +3499,7 @@ dependencies = [ "ctor", "derive_arbitrary", "ed25519-dalek", - "rand 0.8.5", + "rand 0.8.7", "rustc_version", "serde", "serde_json", @@ -3934,13 +3964,18 @@ version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" dependencies = [ + "async-compression", "bitflags", "bytes", + "futures-core", "futures-util", "http 1.4.0", "http-body", + "http-body-util", "iri-string", "pin-project-lite", + "tokio", + "tokio-util", "tower", "tower-layer", "tower-service", @@ -4047,7 +4082,7 @@ dependencies = [ "http 1.4.0", "httparse", "log", - "rand 0.8.5", + "rand 0.8.7", "sha1 0.10.6", "thiserror 1.0.69", "url", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 186e020..45f8386 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -53,7 +53,7 @@ jsonwebtoken = "9" redis = "0.27" # Two-factor authentication (HMAC-based TOTP implemented directly in two_factor.rs) -rand = "0.8" +rand = "0.10" hmac = "0.12" sha1 = "0.10" sha2 = "0.10"