From d2a2ca0664ea4e7f4cf2291e28417f7bf93766da Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sun, 27 Jul 2025 12:51:54 -0400 Subject: [PATCH] Added crates and dependency features --- Cargo.lock | 15 +++++++++++++++ Cargo.toml | 5 +++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index be020e7..49cb42c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -630,6 +630,16 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "hdrhistogram" +version = "7.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d" +dependencies = [ + "byteorder", + "num-traits", +] + [[package]] name = "heck" version = "0.5.0" @@ -760,6 +770,7 @@ dependencies = [ "icarus_envy", "icarus_meta", "icarus_models", + "mime_guess", "serde", "serde_json", "sqlx", @@ -2125,9 +2136,13 @@ checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" dependencies = [ "futures-core", "futures-util", + "hdrhistogram", + "indexmap", "pin-project-lite", + "slab", "sync_wrapper", "tokio", + "tokio-util", "tower-layer", "tower-service", "tracing", diff --git a/Cargo.toml b/Cargo.toml index fd0eb73..3135d28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,12 +8,13 @@ rust-version = "1.88" axum = { version = "0.8.4", features = ["multipart"] } serde = { version = "1.0.219", features = ["derive"] } serde_json = { version = "1.0.140" } -tower = { version = "0.5.2" } +tower = { version = "0.5.2", features = ["full"] } tokio = { version = "1.45.1", features = ["full"] } -tokio-util = { version = "0.7.15" } +tokio-util = { version = "0.7.15", features = ["io"] } tower-http = { version = "0.6.6", features = ["timeout"] } tracing-subscriber = "0.3.19" futures = { version = "0.3.31" } +mime_guess = { version = "2.0.5" } uuid = { version = "1.17.0", features = ["v4", "serde"] } sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio-native-tls", "time", "uuid"] } time = { version = "0.3.41", features = ["formatting", "macros", "parsing", "serde"] }