diff --git a/quickwit/Cargo.lock b/quickwit/Cargo.lock index 62de7682a1f..a3f98cc633c 100644 --- a/quickwit/Cargo.lock +++ b/quickwit/Cargo.lock @@ -925,7 +925,7 @@ dependencies = [ "flate2", "http 1.3.1", "http-body 1.0.1", - "http-serde 2.1.1", + "http-serde", "query_map", "serde", "serde_dynamo", @@ -3541,17 +3541,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "hostname" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" -dependencies = [ - "libc", - "match_cfg", - "winapi 0.3.9", -] - [[package]] name = "hostname" version = "0.4.1" @@ -3631,16 +3620,6 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" -[[package]] -name = "http-serde" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f560b665ad9f1572cfcaf034f7fb84338a7ce945216d64a90fd81f046a3caee" -dependencies = [ - "http 0.2.12", - "serde", -] - [[package]] name = "http-serde" version = "2.1.1" @@ -4279,7 +4258,7 @@ dependencies = [ "http-body 1.0.1", "http-body-util", "hyper 1.6.0", - "lambda_runtime", + "lambda_runtime 0.13.0", "mime", "percent-encoding", "pin-project-lite", @@ -4303,10 +4282,10 @@ dependencies = [ "http 1.3.1", "http-body 1.0.1", "http-body-util", - "http-serde 2.1.1", + "http-serde", "hyper 1.6.0", "hyper-util", - "lambda_runtime_api_client", + "lambda_runtime_api_client 0.11.1", "pin-project", "serde", "serde_json", @@ -4318,6 +4297,34 @@ dependencies = [ "tracing", ] +[[package]] +name = "lambda_runtime" +version = "0.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c64945a7a718d04acbbd06fa8acdc37576f4dfbd8982932365b72907e7b2b27e" +dependencies = [ + "async-stream", + "base64 0.22.1", + "bytes", + "futures", + "http 1.3.1", + "http-body 1.0.1", + "http-body-util", + "http-serde", + "hyper 1.6.0", + "hyper-util", + "lambda_runtime_api_client 0.12.2", + "pin-project", + "serde", + "serde_json", + "serde_path_to_error", + "tokio", + "tokio-stream", + "tower 0.5.2", + "tower-layer", + "tracing", +] + [[package]] name = "lambda_runtime_api_client" version = "0.11.1" @@ -4339,6 +4346,27 @@ dependencies = [ "tracing-subscriber", ] +[[package]] +name = "lambda_runtime_api_client" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df2589b440f900f61fc6d5cd26f71f0e75dcc7610bdbb88a56f0d308e1c35b42" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.3.1", + "http-body 1.0.1", + "http-body-util", + "hyper 1.6.0", + "hyper-util", + "tokio", + "tower 0.5.2", + "tower-service", + "tracing", + "tracing-subscriber", +] + [[package]] name = "lazy_static" version = "1.5.0" @@ -4745,12 +4773,6 @@ version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75761162ae2b0e580d7e7c390558127e5f01b4194debd6221fd8c207fc80e3f5" -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - [[package]] name = "matchers" version = "0.1.0" @@ -6376,17 +6398,17 @@ dependencies = [ [[package]] name = "proptest" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50" +checksum = "6fcdab19deb5195a31cf7726a210015ff1496ba1464fd42cb4f537b8b01b471f" dependencies = [ "bit-set", "bit-vec", "bitflags 2.9.1", "lazy_static", "num-traits", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand 0.9.1", + "rand_chacha 0.9.0", "rand_xorshift", "regex-syntax 0.8.5", "rusty-fork", @@ -6634,7 +6656,7 @@ dependencies = [ "futures", "once_cell", "quickwit-common", - "rand 0.8.5", + "rand 0.9.1", "serde", "serde_json", "sync_wrapper 1.0.2", @@ -6733,7 +6755,7 @@ dependencies = [ "quickwit-common", "quickwit-config", "quickwit-proto", - "rand 0.8.5", + "rand 0.9.1", "serde", "serde_json", "time", @@ -6799,7 +6821,7 @@ dependencies = [ "fnv", "futures", "home", - "hostname 0.3.1", + "hostname", "http 1.3.1", "hyper 1.6.0", "hyper-util", @@ -6809,7 +6831,7 @@ dependencies = [ "pnet", "prometheus", "proptest", - "rand 0.8.5", + "rand 0.9.1", "rayon", "regex", "serde", @@ -6840,7 +6862,7 @@ dependencies = [ "cron", "enum-iterator", "http 0.2.12", - "http-serde 1.1.3", + "http-serde", "humantime", "itertools 0.14.0", "json_comments", @@ -6884,7 +6906,7 @@ dependencies = [ "quickwit-ingest", "quickwit-metastore", "quickwit-proto", - "rand 0.8.5", + "rand 0.9.1", "serde", "serde_json", "smallvec", @@ -7022,7 +7044,7 @@ dependencies = [ "quickwit-proto", "quickwit-query", "quickwit-storage", - "rand 0.8.5", + "rand 0.9.1", "rdkafka", "regex", "reqwest 0.12.15", @@ -7063,7 +7085,7 @@ dependencies = [ "quickwit-config", "quickwit-doc-mapper", "quickwit-proto", - "rand 0.8.5", + "rand 0.9.1", "rand_distr", "serde", "serde_json", @@ -7099,7 +7121,7 @@ dependencies = [ "quickwit-rest-client", "quickwit-serve", "quickwit-storage", - "rand 0.8.5", + "rand 0.9.1", "reqwest 0.12.15", "serde_json", "tempfile", @@ -7186,7 +7208,7 @@ dependencies = [ "flate2", "http 1.3.1", "lambda_http", - "lambda_runtime", + "lambda_runtime 0.14.2", "mime_guess", "once_cell", "opentelemetry", @@ -7207,7 +7229,7 @@ dependencies = [ "quickwit-serve", "quickwit-storage", "quickwit-telemetry", - "rand 0.8.5", + "rand 0.9.1", "reqwest 0.12.15", "serde", "serde_json", @@ -7252,7 +7274,7 @@ dependencies = [ "quickwit-proto", "quickwit-query", "quickwit-storage", - "rand 0.8.5", + "rand 0.9.1", "regex", "regex-syntax 0.8.5", "sea-query", @@ -7417,7 +7439,7 @@ dependencies = [ "quickwit-proto", "quickwit-query", "quickwit-storage", - "rand 0.8.5", + "rand 0.9.1", "rayon", "serde", "serde_json", @@ -7451,7 +7473,7 @@ dependencies = [ "glob", "hex", "http 1.3.1", - "http-serde 1.1.3", + "http-serde", "humantime", "hyper 1.6.0", "hyper-rustls 0.27.6", @@ -7485,8 +7507,8 @@ dependencies = [ "quickwit-telemetry", "regex", "rust-embed", - "rustls 0.21.12", - "rustls-pemfile 1.0.4", + "rustls 0.23.27", + "rustls-pemfile 2.2.0", "serde", "serde_json", "serde_qs 0.12.0", @@ -7495,7 +7517,7 @@ dependencies = [ "thiserror 2.0.12", "time", "tokio", - "tokio-rustls 0.24.1", + "tokio-rustls 0.26.2", "tokio-stream", "tokio-util", "tonic 0.13.1", @@ -7541,7 +7563,7 @@ dependencies = [ "quickwit-common", "quickwit-config", "quickwit-proto", - "rand 0.8.5", + "rand 0.9.1", "regex", "reqsign", "reqwest 0.12.15", @@ -7564,7 +7586,7 @@ version = "0.8.0" dependencies = [ "async-trait", "encoding_rs", - "hostname 0.3.1", + "hostname", "md5", "once_cell", "quickwit-common", @@ -7771,11 +7793,11 @@ dependencies = [ [[package]] name = "rand_xorshift" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" dependencies = [ - "rand_core 0.6.4", + "rand_core 0.9.3", ] [[package]] @@ -7850,6 +7872,26 @@ dependencies = [ "bitflags 2.9.1", ] +[[package]] +name = "ref-cast" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + [[package]] name = "regex" version = "1.11.1" @@ -8503,6 +8545,18 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + [[package]] name = "scoped-tls" version = "1.0.1" @@ -8788,15 +8842,16 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa" +checksum = "bf65a400f8f66fb7b0552869ad70157166676db75ed8181f8104ea91cf9d0b42" dependencies = [ "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", "indexmap 2.9.0", + "schemars", "serde", "serde_derive", "serde_json", @@ -8806,9 +8861,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d00caa5193a3c8362ac2b73be6b9e768aa5a4b2f721d8f4b339600c3cb51f8e" +checksum = "81679d9ed988d5e9a5e6531dc3f2c28efbd639cbd1dfb628df08edea6004da77" dependencies = [ "darling", "proc-macro2", @@ -10682,7 +10737,7 @@ dependencies = [ "grok", "hex", "hmac", - "hostname 0.4.1", + "hostname", "iana-time-zone", "idna", "indexmap 2.9.0", diff --git a/quickwit/Cargo.toml b/quickwit/Cargo.toml index 978d3b4c575..2ef733630be 100644 --- a/quickwit/Cargo.toml +++ b/quickwit/Cargo.toml @@ -121,10 +121,10 @@ google-cloud-pubsub = "0.18" heck = "0.5" hex = "0.4" home = "0.5" -hostname = "0.3" +hostname = "0.4" http = "1.3" http-body-util = "0.1.3" -http-serde = "1.1" +http-serde = "2.1" humantime = "2.2" hyper = { version = "1.6", features = ["client", "http1", "http2", "server"] } hyper-rustls = "0.27" @@ -185,7 +185,7 @@ pulsar = { version = "6.3", default-features = false, features = [ "tokio-runtime", ] } quote = "1.0" -rand = "0.8" +rand = "0.9" rand_distr = "0.4" rayon = "1.10" rdkafka = { version = "0.33", default-features = false, features = [ @@ -205,8 +205,8 @@ reqwest-middleware = "0.4" reqwest-retry = "0.7" rust-embed = "6.8" rustc-hash = "2.1" -rustls = "0.21" -rustls-pemfile = "1.0" +rustls = "0.23" +rustls-pemfile = "2.2" sea-query = { version = "0.30" } sea-query-binder = { version = "0.5", features = [ "runtime-tokio-rustls", @@ -217,7 +217,7 @@ serde = { version = "1.0.219", features = ["derive", "rc"] } serde_json = "1.0" serde_json_borrow = "0.5" serde_qs = { version = "0.12", features = ["warp"] } -serde_with = "3.12" +serde_with = "3.13" serde_yaml = "0.9" serial_test = { version = "3.2", features = ["file_locks"] } siphasher = "1.0" @@ -240,7 +240,7 @@ tikv-jemallocator = "0.5" time = { version = "0.3", features = ["std", "formatting", "macros"] } tokio = { version = "1.45", features = ["full"] } tokio-metrics = { version = "0.3", features = ["rt"] } -tokio-rustls = { version = "0.24", default-features = false } +tokio-rustls = { version = "0.26", default-features = false } tokio-stream = { version = "0.1", features = ["sync"] } tokio-util = { version = "0.7", features = ["full"] } toml = "0.7" diff --git a/quickwit/quickwit-lambda/Cargo.toml b/quickwit/quickwit-lambda/Cargo.toml index a43cce32913..2796691035d 100644 --- a/quickwit/quickwit-lambda/Cargo.toml +++ b/quickwit/quickwit-lambda/Cargo.toml @@ -30,7 +30,7 @@ chrono = { workspace = true } flate2 = { workspace = true } http = { workspace = true } lambda_http = "0.14" -lambda_runtime = "0.13" +lambda_runtime = "0.14" mime_guess = { workspace = true } once_cell = { workspace = true } opentelemetry = { workspace = true }