diff --git a/Cargo.lock b/Cargo.lock index 550d108f6..7455ff1b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,7 +71,6 @@ dependencies = [ "tokio", "tokio-util", "tracing", - "zstd", ] [[package]] @@ -198,7 +197,6 @@ dependencies = [ "mime", "once_cell", "pin-project-lite", - "regex", "regex-lite", "serde", "serde_json", @@ -233,7 +231,6 @@ dependencies = [ "actix-service", "actix-utils", "actix-web", - "actix-web-lab-derive", "ahash 0.8.12", "arc-swap", "bytes", @@ -260,16 +257,6 @@ dependencies = [ "url", ] -[[package]] -name = "actix-web-lab-derive" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd80fa0bd6217e482112d9d87a05af8e0f8dec9e3aa51f34816f761c5cf7da7" -dependencies = [ - "quote", - "syn 2.0.101", -] - [[package]] name = "addr2line" version = "0.24.2" @@ -545,29 +532,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" -[[package]] -name = "aws-lc-rs" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fcc8f365936c834db5514fc45aee5b1202d677e6b40e48468aaaa8183ca8c7" -dependencies = [ - "aws-lc-sys", - "zeroize", -] - -[[package]] -name = "aws-lc-sys" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61b1d86e7705efe1be1b569bab41d4fa1e14e220b60a160f78de2db687add079" -dependencies = [ - "bindgen 0.69.5", - "cc", - "cmake", - "dunce", - "fs_extra", -] - [[package]] name = "backoff" version = "0.4.0" @@ -660,29 +624,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bindgen" -version = "0.69.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" -dependencies = [ - "bitflags 2.9.1", - "cexpr", - "clang-sys", - "itertools 0.10.5", - "lazy_static", - "lazycell", - "log", - "prettyplease", - "proc-macro2", - "quote", - "regex", - "rustc-hash 1.1.0", - "shlex", - "syn 2.0.101", - "which", -] - [[package]] name = "bindgen" version = "0.70.1" @@ -1253,15 +1194,6 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" -[[package]] -name = "cmake" -version = "0.1.54" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7caa3f9de89ddbe2c607f4101924c5abec803763ae9534e4f4d7d8f84aa81f0" -dependencies = [ - "cc", -] - [[package]] name = "color-spantrace" version = "0.3.0" @@ -1359,16 +1291,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "core-foundation" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "core-foundation" version = "0.10.1" @@ -1874,12 +1796,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "dunce" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" - [[package]] name = "dyn-stack" version = "0.10.0" @@ -2059,9 +1975,6 @@ name = "esaxx-rs" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d817e038c30374a4bcb22f94d0a8a0e216958d4c3dcde369b1439fec4bdda6e6" -dependencies = [ - "cc", -] [[package]] name = "eventsource-stream" @@ -2148,9 +2061,6 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" dependencies = [ - "futures-core", - "futures-sink", - "nanorand", "spin 0.9.8", ] @@ -2166,21 +2076,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - [[package]] name = "form_urlencoded" version = "1.2.1" @@ -2190,12 +2085,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "fs_extra" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" - [[package]] name = "fst" version = "0.4.7" @@ -2656,7 +2545,6 @@ dependencies = [ "byteorder", "either", "rayon", - "snap", "tempfile", ] @@ -2782,7 +2670,6 @@ dependencies = [ "lmdb-master-sys", "once_cell", "page_size", - "serde", "synchronoise", "url", ] @@ -2827,7 +2714,6 @@ dependencies = [ "http 1.3.1", "indicatif", "log", - "native-tls", "rand 0.8.5", "serde", "serde_json", @@ -2844,15 +2730,6 @@ dependencies = [ "digest", ] -[[package]] -name = "home" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" -dependencies = [ - "windows-sys 0.59.0", -] - [[package]] name = "http" version = "0.2.12" @@ -2949,22 +2826,6 @@ dependencies = [ "webpki-roots 1.0.0", ] -[[package]] -name = "hyper-tls" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" -dependencies = [ - "bytes", - "http-body-util", - "hyper", - "hyper-util", - "native-tls", - "tokio", - "tokio-native-tls", - "tower-service", -] - [[package]] name = "hyper-util" version = "0.1.13" @@ -2984,11 +2845,9 @@ dependencies = [ "percent-encoding", "pin-project-lite", "socket2", - "system-configuration", "tokio", "tower-service", "tracing", - "windows-registry", ] [[package]] @@ -3422,12 +3281,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - [[package]] name = "levenshtein_automata" version = "0.2.1" @@ -3531,7 +3384,7 @@ version = "0.14.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e78a09b56be5adbcad5aa1197371688dc6bb249a26da3bca2011ee2fb987ebfb" dependencies = [ - "bindgen 0.70.1", + "bindgen", "errno", "libc", ] @@ -3893,6 +3746,7 @@ dependencies = [ "async-openai", "brotli", "bstr", + "build-info", "bumpalo", "byte-unit", "bytes", @@ -3962,6 +3816,7 @@ dependencies = [ "tracing", "tracing-actix-web", "tracing-subscriber", + "tracing-trace", "url", "urlencoding", "utoipa", @@ -4221,32 +4076,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e94e1e6445d314f972ff7395df2de295fe51b71821694f0b0e1e79c4f12c8577" -[[package]] -name = "nanorand" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" -dependencies = [ - "getrandom 0.2.16", -] - -[[package]] -name = "native-tls" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" -dependencies = [ - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework 2.11.1", - "security-framework-sys", - "tempfile", -] - [[package]] name = "no-std-compat" version = "0.4.1" @@ -4506,50 +4335,12 @@ version = "11.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" -[[package]] -name = "openssl" -version = "0.10.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" -dependencies = [ - "bitflags 2.9.1", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", -] - [[package]] name = "openssl-probe" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" -[[package]] -name = "openssl-sys" -version = "0.9.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "option-ext" version = "0.2.0" @@ -4891,16 +4682,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "prettyplease" -version = "0.2.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6837b9e10d61f45f987d50808f83d1ee3d206c66acf650c3e4ae2e1f6ddedf55" -dependencies = [ - "proc-macro2", - "syn 2.0.101", -] - [[package]] name = "proc-macro-crate" version = "3.3.0" @@ -5296,23 +5077,18 @@ checksum = "eabf4c97d9130e2bf606614eb937e86edac8292eaa6f422f995d7e8de1eb1813" dependencies = [ "base64 0.22.1", "bytes", - "encoding_rs", "futures-channel", "futures-core", "futures-util", - "h2 0.4.10", "http 1.3.1", "http-body", "http-body-util", "hyper", "hyper-rustls", - "hyper-tls", "hyper-util", "js-sys", "log", - "mime", "mime_guess", - "native-tls", "percent-encoding", "pin-project-lite", "quinn", @@ -5324,7 +5100,6 @@ dependencies = [ "serde_urlencoded", "sync_wrapper", "tokio", - "tokio-native-tls", "tokio-rustls", "tokio-util", "tower", @@ -5522,7 +5297,6 @@ version = "0.23.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7160e3e10bf4535308537f3c4e1641468cd0e485175d6163087c0393c7d46643" dependencies = [ - "aws-lc-rs", "log", "once_cell", "ring", @@ -5541,7 +5315,7 @@ dependencies = [ "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.2.0", + "security-framework", ] [[package]] @@ -5569,7 +5343,6 @@ version = "0.103.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" dependencies = [ - "aws-lc-rs", "ring", "rustls-pki-types", "untrusted", @@ -5637,19 +5410,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "security-framework" -version = "2.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" -dependencies = [ - "bitflags 2.9.1", - "core-foundation 0.9.4", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - [[package]] name = "security-framework" version = "3.2.0" @@ -5657,7 +5417,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" dependencies = [ "bitflags 2.9.1", - "core-foundation 0.10.1", + "core-foundation", "core-foundation-sys", "libc", "security-framework-sys", @@ -5970,12 +5730,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "snap" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" - [[package]] name = "socket2" version = "0.5.10" @@ -6180,27 +5934,6 @@ dependencies = [ "windows", ] -[[package]] -name = "system-configuration" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" -dependencies = [ - "bitflags 2.9.1", - "core-foundation 0.9.4", - "system-configuration-sys", -] - -[[package]] -name = "system-configuration-sys" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "tap" version = "1.0.1" @@ -6405,11 +6138,9 @@ version = "0.15.2" source = "git+https://github.com/huggingface/tokenizers.git?tag=v0.15.2#701a73b869602b5639589d197e805349cdba3223" dependencies = [ "aho-corasick", - "clap", "derive_builder 0.12.0", "esaxx-rs", "getrandom 0.2.16", - "indicatif", "itertools 0.12.1", "lazy_static", "log", @@ -6460,16 +6191,6 @@ dependencies = [ "syn 2.0.101", ] -[[package]] -name = "tokio-native-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" -dependencies = [ - "native-tls", - "tokio", -] - [[package]] name = "tokio-rustls" version = "0.26.2" @@ -6848,7 +6569,6 @@ dependencies = [ "base64 0.22.1", "flate2", "log", - "native-tls", "once_cell", "rustls", "rustls-pki-types", @@ -7177,18 +6897,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix 0.38.44", -] - [[package]] name = "winapi" version = "0.3.9" @@ -7252,7 +6960,7 @@ dependencies = [ "windows-interface", "windows-link", "windows-result", - "windows-strings 0.4.2", + "windows-strings", ] [[package]] @@ -7304,17 +7012,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-registry" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" -dependencies = [ - "windows-result", - "windows-strings 0.3.1", - "windows-targets 0.53.2", -] - [[package]] name = "windows-result" version = "0.3.4" @@ -7324,15 +7021,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-strings" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" -dependencies = [ - "windows-link", -] - [[package]] name = "windows-strings" version = "0.4.2" @@ -7393,29 +7081,13 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", + "windows_i686_gnullvm", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] -[[package]] -name = "windows-targets" -version = "0.53.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef" -dependencies = [ - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", -] - [[package]] name = "windows-threading" version = "0.1.0" @@ -7437,12 +7109,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" - [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -7455,12 +7121,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_aarch64_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" - [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -7473,24 +7133,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" -[[package]] -name = "windows_i686_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" - [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" - [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -7503,12 +7151,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_i686_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" - [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -7521,12 +7163,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" - [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" @@ -7539,12 +7175,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" - [[package]] name = "windows_x86_64_msvc" version = "0.48.5" @@ -7557,12 +7187,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" -[[package]] -name = "windows_x86_64_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" - [[package]] name = "winnow" version = "0.7.10" diff --git a/Cargo.toml b/Cargo.toml index a887f84e1..f7cfa95d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,11 +52,11 @@ opt-level = 3 [workspace.dependencies] actix-cors = "0.7.1" -actix-http ="3.11.0" +actix-http = { version = "3.11.0", default-features = false } actix-rt = "2.10.0" actix-utils = "3.0.1" -actix-web = "4.11.0" -actix-web-lab = "0.24.1" +actix-web = { version = "4.11.0", default-features = false } +actix-web-lab = { version = "0.24.1", default-features = false } allocator-api2 = "0.3.0" anyhow = "1.0.98" arbitrary = "1.4.1" @@ -79,7 +79,7 @@ candle-core = "0.9.1" candle-nn = "0.9.1" candle-transformers = "0.9.1" cargo_toml = "0.22.1" -charabia = "0.9.6" +charabia = { version="0.9.6", default-features = false } clap = "4.5.40" color-spantrace = "0.3.0" concat-arrays = "0.1.2" @@ -93,18 +93,18 @@ either = "1.15.0" enum-iterator = "2.1.0" fastrand = "2.3.0" flate2 = "1.1.2" -flume = "0.11.1" +flume = { version="0.11.1", default-features = false } fst = "0.4.7" futures = "0.3.31" futures-util = "0.3.31" fxhash = "0.2.1" fxprof-processed-profile = "0.7.0" geoutils = "0.5.1" -grenad = "0.5.0" +grenad = { version="0.5.0", default-features = false } hashbrown = "0.15.4" -heed = "0.22.0" +heed = { version="0.22.0", default-features = false } hex = "0.4.3" -hf-hub = { git = "https://github.com/dureuill/hf-hub.git", branch = "rust_tls" } +hf-hub = { git = "https://github.com/dureuill/hf-hub.git", branch = "rust_tls", default-features = false } hmac = "0.12.1" http = "1.3.1" indexmap = "2.9.0" @@ -141,12 +141,12 @@ rand_chacha = "0.3.1" rayon = "1.10.0" regex = "1.11.1" regex-lite = "0.1.6" -reqwest = "0.12.20" +reqwest = { version="0.12.20", default-features = false } rhai = "1.22.2" roaring = "0.10.12" rstar = "0.12.2" rustc-hash = "2.1.1" -rustls = "0.23.28" +rustls = { version="0.23.28", default-features = false } rustls-pemfile = "2.2.0" rustls-pki-types = "1.12.0" secrecy = "0.10.3" @@ -173,7 +173,7 @@ thiserror = "2.0.12" thread_local = "1.1.9" tiktoken-rs = "0.7.0" time = "0.3.41" -tokenizers = { git = "https://github.com/huggingface/tokenizers.git", tag = "v0.15.2", version = "0.15.2" } +tokenizers = { git = "https://github.com/huggingface/tokenizers.git", tag = "v0.15.2", version = "0.15.2", default-features = false } tokio = "1.45.1" toml = "0.8.23" tracing = "0.1.41" @@ -191,3 +191,5 @@ vergen-git2 = "1.0.7" wiremock = "0.6.3" yaup = "0.3.1" zip = "4.1.0" +cargo_metadata = "0.20.0" +futures-core = "0.3.31" diff --git a/crates/benchmarks/Cargo.toml b/crates/benchmarks/Cargo.toml index 0cc4dee33..8ca915649 100644 --- a/crates/benchmarks/Cargo.toml +++ b/crates/benchmarks/Cargo.toml @@ -15,8 +15,8 @@ anyhow.workspace = true bumpalo.workspace = true csv.workspace = true memmap2.workspace = true -milli = { path = "../milli" } -mimalloc = { workspace = true, default-features = false } +milli.path = "../milli" +mimalloc.workspace = true serde_json = { workspace = true, features = ["preserve_order"] } tempfile.workspace = true diff --git a/crates/dump/Cargo.toml b/crates/dump/Cargo.toml index 77eb9d784..8e61d6a22 100644 --- a/crates/dump/Cargo.toml +++ b/crates/dump/Cargo.toml @@ -14,7 +14,7 @@ license.workspace = true anyhow.workspace = true flate2.workspace = true http.workspace = true -meilisearch-types = { path = "../meilisearch-types" } +meilisearch-types.path = "../meilisearch-types" once_cell.workspace = true regex.workspace = true roaring = { workspace = true, features = ["serde"] } @@ -30,5 +30,5 @@ uuid = { workspace = true, features = ["serde", "v4"] } [dev-dependencies] big_s.workspace = true maplit.workspace = true -meili-snap = { path = "../meili-snap" } -meilisearch-types = { path = "../meilisearch-types" } +meili-snap.path = "../meili-snap" +meilisearch-types.path = "../meilisearch-types" diff --git a/crates/flatten-serde-json/fuzz/Cargo.toml b/crates/flatten-serde-json/fuzz/Cargo.toml index 52b514785..855e1f173 100644 --- a/crates/flatten-serde-json/fuzz/Cargo.toml +++ b/crates/flatten-serde-json/fuzz/Cargo.toml @@ -11,7 +11,7 @@ cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4" arbitrary-json = "0.1.1" -json-depth-checker = { path = "../../json-depth-checker" } +json-depth-checker.path = "../../json-depth-checker" [dependencies.flatten-serde-json] path = ".." diff --git a/crates/fuzzers/Cargo.toml b/crates/fuzzers/Cargo.toml index 7e4414e08..b020d533d 100644 --- a/crates/fuzzers/Cargo.toml +++ b/crates/fuzzers/Cargo.toml @@ -16,7 +16,7 @@ bumpalo.workspace = true clap = { workspace = true, features = ["derive"] } either.workspace = true fastrand.workspace = true -milli = { path = "../milli" } +milli.path = "../milli" serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["preserve_order"] } tempfile.workspace = true diff --git a/crates/index-scheduler/Cargo.toml b/crates/index-scheduler/Cargo.toml index 53ec9478d..b2c867157 100644 --- a/crates/index-scheduler/Cargo.toml +++ b/crates/index-scheduler/Cargo.toml @@ -19,13 +19,13 @@ bumparaw-collections.workspace = true convert_case.workspace = true csv.workspace = true derive_builder.workspace = true -dump = { path = "../dump" } +dump.path = "../dump" enum-iterator.workspace = true -file-store = { path = "../file-store" } +file-store.path = "../file-store" flate2.workspace = true indexmap.workspace = true -meilisearch-auth = { path = "../meilisearch-auth" } -meilisearch-types = { path = "../meilisearch-types" } +meilisearch-auth.path = "../meilisearch-auth" +meilisearch-types.path = "../meilisearch-types" memmap2.workspace = true page_size.workspace = true rayon.workspace = true @@ -50,4 +50,4 @@ big_s.workspace = true crossbeam-channel.workspace = true insta = { workspace = true, features = ["json", "redactions"] } maplit.workspace = true -meili-snap = { path = "../meili-snap" } +meili-snap.path = "../meili-snap" diff --git a/crates/meilisearch-auth/Cargo.toml b/crates/meilisearch-auth/Cargo.toml index 8ebd3c1af..9864c2c7a 100644 --- a/crates/meilisearch-auth/Cargo.toml +++ b/crates/meilisearch-auth/Cargo.toml @@ -15,7 +15,7 @@ base64.workspace = true enum-iterator.workspace = true hmac.workspace = true maplit.workspace = true -meilisearch-types = { path = "../meilisearch-types" } +meilisearch-types.path = "../meilisearch-types" rand.workspace = true roaring = { workspace = true, features = ["serde"] } serde = { workspace = true, features = ["derive"] } diff --git a/crates/meilisearch-types/Cargo.toml b/crates/meilisearch-types/Cargo.toml index 217aea12f..7ef8ea13b 100644 --- a/crates/meilisearch-types/Cargo.toml +++ b/crates/meilisearch-types/Cargo.toml @@ -20,11 +20,11 @@ csv.workspace = true deserr = { workspace = true, features = ["actix-web"] } either = { workspace = true, features = ["serde"] } enum-iterator.workspace = true -file-store = { path = "../file-store" } +file-store.path = "../file-store" flate2.workspace = true fst.workspace = true memmap2.workspace = true -milli = { path = "../milli" } +milli.path = "../milli" roaring = { workspace = true, features = ["serde"] } rustc-hash.workspace = true serde = { workspace = true, features = ["derive"] } @@ -45,7 +45,7 @@ uuid = { workspace = true, features = ["serde", "v4"] } [dev-dependencies] insta.workspace = true -meili-snap = { path = "../meili-snap" } +meili-snap.path = "../meili-snap" [features] # all specialized tokenizations diff --git a/crates/meilisearch/Cargo.toml b/crates/meilisearch/Cargo.toml index 710a28431..c981a80ab 100644 --- a/crates/meilisearch/Cargo.toml +++ b/crates/meilisearch/Cargo.toml @@ -35,29 +35,29 @@ bumpalo.workspace = true clap = { workspace = true, features = ["derive", "env"] } crossbeam-channel.workspace = true deserr = { workspace = true, features = ["actix-web"] } -dump = { path = "../dump" } +dump.path = "../dump" either.workspace = true -file-store = { path = "../file-store" } +file-store.path = "../file-store" flate2.workspace = true fst.workspace = true futures.workspace = true futures-util.workspace = true -index-scheduler = { path = "../index-scheduler" } +index-scheduler.path = "../index-scheduler" indexmap = { workspace = true, features = ["serde"] } is-terminal.workspace = true itertools.workspace = true jsonwebtoken.workspace = true lazy_static.workspace = true -meilisearch-auth = { path = "../meilisearch-auth" } -meilisearch-types = { path = "../meilisearch-types" } -mimalloc = { workspace = true, default-features = false } +meilisearch-auth.path = "../meilisearch-auth" +meilisearch-types.path = "../meilisearch-types" +mimalloc.workspace = true mime.workspace = true num_cpus.workspace = true obkv.workspace = true once_cell.workspace = true ordered-float.workspace = true parking_lot.workspace = true -permissive-json-pointer = { path = "../permissive-json-pointer" } +permissive-json-pointer.path = "../permissive-json-pointer" pin-project-lite.workspace = true platform-dirs.workspace = true prometheus = { workspace = true, features = ["process"] } @@ -96,7 +96,9 @@ termcolor.workspace = true url = { workspace = true, features = ["serde"] } tracing.workspace = true tracing-subscriber = { workspace = true, features = ["json"] } +tracing-trace.path = "../tracing-trace" tracing-actix-web.workspace = true +build-info.path = "../build-info" roaring.workspace = true mopa-maintained.workspace = true utoipa = { workspace = true, features = [ @@ -119,7 +121,7 @@ brotli.workspace = true insta = { workspace = true, features = ["redactions"] } manifest-dir-macros.workspace = true maplit.workspace = true -meili-snap = { path = "../meili-snap" } +meili-snap.path = "../meili-snap" temp-env.workspace = true urlencoding.workspace = true wiremock.workspace = true diff --git a/crates/meilitool/Cargo.toml b/crates/meilitool/Cargo.toml index 722b3224b..9630ba184 100644 --- a/crates/meilitool/Cargo.toml +++ b/crates/meilitool/Cargo.toml @@ -11,13 +11,13 @@ license.workspace = true [dependencies] anyhow.workspace = true clap = { workspace = true, features = ["derive"] } -dump = { path = "../dump" } -file-store = { path = "../file-store" } +dump.path = "../dump" +file-store.path = "../file-store" indexmap = { workspace = true, features = ["serde"] } -meilisearch-auth = { path = "../meilisearch-auth" } -meilisearch-types = { path = "../meilisearch-types" } +meilisearch-auth.path = "../meilisearch-auth" +meilisearch-types.path = "../meilisearch-types" serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["preserve_order"] } tempfile.workspace = true time = { workspace = true, features = ["formatting", "parsing", "alloc"] } -uuid = { workspace = true, features = ["v4"], default-features = false } +uuid = { workspace = true, features = ["v4"] } diff --git a/crates/milli/Cargo.toml b/crates/milli/Cargo.toml index 29b526c76..a9954e05e 100644 --- a/crates/milli/Cargo.toml +++ b/crates/milli/Cargo.toml @@ -24,7 +24,7 @@ convert_case.workspace = true crossbeam-channel.workspace = true deserr.workspace = true either = { workspace = true, features = ["serde"] } -flatten-serde-json = { path = "../flatten-serde-json" } +flatten-serde-json.path = "../flatten-serde-json" fst.workspace = true fxhash.workspace = true geoutils.workspace = true @@ -37,7 +37,7 @@ heed = { workspace = true, default-features = false, features = [ "serde-bincode", ] } indexmap = { workspace = true, features = ["serde"] } -json-depth-checker = { path = "../json-depth-checker" } +json-depth-checker.path = "../json-depth-checker" levenshtein_automata = { workspace = true, features = ["fst_automaton"] } memchr.workspace = true memmap2.workspace = true @@ -63,7 +63,7 @@ time = { workspace = true, features = [ ] } uuid = { workspace = true, features = ["v4"] } -filter-parser = { path = "../filter-parser" } +filter-parser.path = "../filter-parser" # documents words self-join itertools.workspace = true @@ -100,7 +100,7 @@ allocator-api2.workspace = true rustc-hash.workspace = true enum-iterator.workspace = true bbqueue.workspace = true -flume = { workspace = true, default-features = false } +flume.workspace = true utoipa = { workspace = true, features = [ "non_strict_integers", "preserve_order", @@ -111,11 +111,11 @@ utoipa = { workspace = true, features = [ lru.workspace = true [dev-dependencies] -mimalloc = { workspace = true, default-features = false } +mimalloc.workspace = true insta.workspace = true maplit.workspace = true md5.workspace = true -meili-snap = { path = "../meili-snap" } +meili-snap.path = "../meili-snap" rand = { workspace = true, features = ["small_rng"] } [features] diff --git a/crates/tracing-trace/Cargo.toml b/crates/tracing-trace/Cargo.toml index eda39780e..ea8d3e989 100644 --- a/crates/tracing-trace/Cargo.toml +++ b/crates/tracing-trace/Cargo.toml @@ -13,11 +13,7 @@ serde_json.workspace = true tracing.workspace = true tracing-error.workspace = true tracing-subscriber.workspace = true -byte-unit = { workspace = true, default-features = false, features = [ - "std", - "byte", - "serde", -] } +byte-unit = { workspace = true, features = ["serde"] } tokio = { workspace = true, features = ["sync"] } [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies] diff --git a/crates/xtask/Cargo.toml b/crates/xtask/Cargo.toml index 5fdf157df..8a28eaaa0 100644 --- a/crates/xtask/Cargo.toml +++ b/crates/xtask/Cargo.toml @@ -11,34 +11,34 @@ license.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "1.0.98" -build-info = { version = "1.7.0", path = "../build-info" } -cargo_metadata = "0.20.0" -clap = { version = "4.5.40", features = ["derive"] } -futures-core = "0.3.31" -futures-util = "0.3.31" -reqwest = { version = "0.12.20", features = [ +anyhow.workspace = true +build-info.path = "../build-info" +cargo_metadata.workspace = true +clap = { workspace = true, features = ["derive"] } +futures-core.workspace = true +futures-util.workspace = true +reqwest = { workspace = true, features = [ "stream", "json", "rustls-tls", ], default-features = false } -serde = { version = "1.0.219", features = ["derive"] } -serde_json = "1.0.140" -sha2 = "0.10.9" -sysinfo = "0.35.2" -time = { version = "0.3.41", features = [ +serde = { workspace = true, features = ["derive"] } +serde_json.workspace = true +sha2.workspace = true +sysinfo.workspace = true +time = { workspace = true, features = [ "serde", "serde-human-readable", "macros", ] } -tokio = { version = "1.45.1", features = [ +tokio = { workspace = true, features = [ "rt", "net", "time", "process", "signal", ] } -tracing = "0.1.41" -tracing-subscriber = "0.3.19" -tracing-trace = { version = "0.1.0", path = "../tracing-trace" } -uuid = { version = "1.17.0", features = ["v7", "serde"] } +tracing.workspace = true +tracing-subscriber.workspace = true +tracing-trace.path = "../tracing-trace" +uuid = { workspace = true, features = ["v7", "serde"] }