From e3d742e3cc8e228da35d17514c13fd3dd43c8483 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:03:24 +0000 Subject: [PATCH] fix(deps): update rust crate polars to 0.42.0 --- server/Cargo.lock | 172 ++++++++++++++++++++++++++++------------------ server/Cargo.toml | 2 +- 2 files changed, 108 insertions(+), 66 deletions(-) diff --git a/server/Cargo.lock b/server/Cargo.lock index 496c99363..a276d6053 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -76,7 +76,7 @@ dependencies = [ "ahash 0.8.11", "base64 0.22.1", "bitflags 2.6.0", - "brotli 6.0.0", + "brotli", "bytes", "bytestring", "derive_more", @@ -671,17 +671,6 @@ dependencies = [ "serde_with", ] -[[package]] -name = "brotli" -version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19483b140a7ac7174d34b5a581b406c64f84da5409d3e09cf4fff604f9270e67" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", - "brotli-decompressor", -] - [[package]] name = "brotli" version = "6.0.0" @@ -1474,12 +1463,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" -[[package]] -name = "foreign_vec" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee1b05cbd864bcaecbd3455d6d967862d446e4ebfc3c2e5e5b9841e53cba6673" - [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1878,7 +1861,7 @@ checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" dependencies = [ "cfg-if", "libc", - "windows", + "windows 0.52.0", ] [[package]] @@ -2125,7 +2108,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -3456,9 +3439,9 @@ dependencies = [ [[package]] name = "polars" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e3351ea4570e54cd556e6755b78fe7a2c85368d820c0307cca73c96e796a7ba" +checksum = "ad002eb9c541b4f7e0c7c759cefe884a0350e15d241231ac4be31c5568c15070" dependencies = [ "getrandom", "polars-arrow", @@ -3476,9 +3459,9 @@ dependencies = [ [[package]] name = "polars-arrow" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba65fc4bcabbd64fca01fd30e759f8b2043f0963c57619e331d4b534576c0b47" +checksum = "32d19c6db79cb6a3c55af3b5a3976276edaab64cbf7f69b392617c2af30d7742" dependencies = [ "ahash 0.8.11", "atoi", @@ -3490,7 +3473,6 @@ dependencies = [ "either", "ethnum", "fast-float", - "foreign_vec", "futures", "getrandom", "hashbrown 0.14.5", @@ -3499,6 +3481,7 @@ dependencies = [ "lz4", "multiversion", "num-traits", + "parking_lot 0.12.3", "polars-arrow-format", "polars-error", "polars-utils", @@ -3522,9 +3505,9 @@ dependencies = [ [[package]] name = "polars-compute" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f099516af30ac9ae4b4480f4ad02aa017d624f2f37b7a16ad4e9ba52f7e5269" +checksum = "30194a5ff325f61d6fcb62dc215c9210f308fc4fc85a493ef777dbcd938cba24" dependencies = [ "bytemuck", "either", @@ -3538,9 +3521,9 @@ dependencies = [ [[package]] name = "polars-core" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2439484be228b8c302328e2f953e64cfd93930636e5c7ceed90339ece7fef6c" +checksum = "2ba2a3b736d55b92a12889672d0197dc25ad321ab23eba4168a3b6316a6b6349" dependencies = [ "ahash 0.8.11", "bitflags 2.6.0", @@ -3570,9 +3553,9 @@ dependencies = [ [[package]] name = "polars-error" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c9b06dfbe79cabe50a7f0a90396864b5ee2c0e0f8d6a9353b2343c29c56e937" +checksum = "07101d1803ca2046cdb3a8adb1523ddcc879229860f0ac56a853034269dec1e1" dependencies = [ "polars-arrow-format", "regex", @@ -3582,9 +3565,9 @@ dependencies = [ [[package]] name = "polars-expr" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c630385a56a867c410a20f30772d088f90ec3d004864562b84250b35268f97" +checksum = "dd5c69634ddbb0f44186cd1c42d166963fc756f9cc994438e941bc2703ddbbab" dependencies = [ "ahash 0.8.11", "bitflags 2.6.0", @@ -3602,9 +3585,9 @@ dependencies = [ [[package]] name = "polars-io" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d7363cd14e4696a28b334a56bd11013ff49cc96064818ab3f91a126e453462d" +checksum = "a48ddf416ae185336c3d7880d2e05b7e55686e3e0da1014e5e7325eff9c7d722" dependencies = [ "ahash 0.8.11", "async-trait", @@ -3613,6 +3596,7 @@ dependencies = [ "chrono", "fast-float", "futures", + "glob", "home", "itoa", "memchr", @@ -3637,13 +3621,12 @@ dependencies = [ [[package]] name = "polars-lazy" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03877e74e42b5340ae52ded705f6d5d14563d90554c9177b01b91ed2412a56ed" +checksum = "a514a85df9e7d501c71c96f094861d0608b05a3f533447b1c0ea9cf714162fcb" dependencies = [ "ahash 0.8.11", "bitflags 2.6.0", - "glob", "memchr", "once_cell", "polars-arrow", @@ -3663,10 +3646,11 @@ dependencies = [ [[package]] name = "polars-mem-engine" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea9e17771af750c94bf959885e4b3f5b14149576c62ef3ec1c9ef5827b2a30f" +checksum = "2d057df81b17b4f0ea0e4424ee34f755e6b9ccfba432ecb2fe57dc4da6da2713" dependencies = [ + "memmap2", "polars-arrow", "polars-core", "polars-error", @@ -3681,9 +3665,9 @@ dependencies = [ [[package]] name = "polars-ops" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6066552eb577d43b307027fb38096910b643ffb2c89a21628c7e41caf57848d0" +checksum = "01ba44233249b7937491b5d2bdbf14e4ad534c0a65d06548c3bc418fc3e60791" dependencies = [ "ahash 0.8.11", "argminmax", @@ -3711,14 +3695,15 @@ dependencies = [ [[package]] name = "polars-parquet" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b35b2592a2e7ef7ce9942dc2120dc4576142626c0e661668e4c6b805042e461" +checksum = "bb2993265079ffa07dd16277189444424f8d787b00b01c6f6e001f58bab543ce" dependencies = [ "ahash 0.8.11", "async-stream", "base64 0.22.1", - "brotli 5.0.0", + "brotli", + "bytemuck", "ethnum", "flate2", "futures", @@ -3737,9 +3722,9 @@ dependencies = [ [[package]] name = "polars-pipe" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021bce7768c330687d735340395a77453aa18dd70d57c184cbb302311e87c1b9" +checksum = "0ccba94c4fa9fded0f41730f7649574c72d6d938a840731c7e4eea4e7ed5cecf" dependencies = [ "crossbeam-channel", "crossbeam-queue", @@ -3763,15 +3748,18 @@ dependencies = [ [[package]] name = "polars-plan" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "220d0d7c02d1c4375802b2813dbedcd1a184df39c43b74689e729ede8d5c2921" +checksum = "5d6b29cc53d6c086c09b11050b01c25c28f6a91339036ba1fb1250fcf0d89e74" dependencies = [ "ahash 0.8.11", + "bitflags 2.6.0", "bytemuck", + "chrono", "chrono-tz", "either", "hashbrown 0.14.5", + "memmap2", "once_cell", "percent-encoding", "polars-arrow", @@ -3791,9 +3779,9 @@ dependencies = [ [[package]] name = "polars-row" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1d70d87a2882a64a43b431aea1329cb9a2c4100547c95c417cc426bb82408b3" +checksum = "6e11f43f48466c4b1caa6dc61c381dc10c2d67b87fcb74bc996e21c4f7b0a311" dependencies = [ "bytemuck", "polars-arrow", @@ -3803,9 +3791,9 @@ dependencies = [ [[package]] name = "polars-sql" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6fc1c9b778862f09f4a347f768dfdd3d0ba9957499d306d83c7103e0fa8dc5b" +checksum = "6e9338806e7254618eb819cc632c34b75b71d462222a913f9c1035ed81911ddc" dependencies = [ "hex", "once_cell", @@ -3824,9 +3812,9 @@ dependencies = [ [[package]] name = "polars-time" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "179f98313a15c0bfdbc8cc0f1d3076d08d567485b9952d46439f94fbc3085df5" +checksum = "30a601ab9a62e733b8b560b37642321cb1933faa194864739f6a59d6dfc4d686" dependencies = [ "atoi", "bytemuck", @@ -3845,14 +3833,16 @@ dependencies = [ [[package]] name = "polars-utils" -version = "0.41.3" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e6dd89fcccb1ec1a62f752c9a9f2d482a85e9255153f46efecc617b4996d50" +checksum = "19dd73207bd15efb0ae5c9c3ece3227927ed6a16ad63578acec342378e6bdcb4" dependencies = [ "ahash 0.8.11", "bytemuck", + "bytes", "hashbrown 0.14.5", "indexmap 2.3.0", + "memmap2", "num-traits", "once_cell", "polars-error", @@ -5155,9 +5145,9 @@ dependencies = [ [[package]] name = "sqlparser" -version = "0.47.0" +version = "0.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "295e9930cd7a97e58ca2a070541a3ca502b17f5d1fa7157376d0fabd85324f25" +checksum = "a4a404d0e14905361b918cb8afdb73605e25c1d5029312bd9785142dcb3aa49e" dependencies = [ "log", ] @@ -5510,16 +5500,15 @@ checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" [[package]] name = "sysinfo" -version = "0.30.13" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" +checksum = "d4115055da5f572fff541dd0c4e61b0262977f453cc9fe04be83aba25a89bdab" dependencies = [ - "cfg-if", "core-foundation-sys", "libc", + "memchr", "ntapi", - "once_cell", - "windows", + "windows 0.57.0", ] [[package]] @@ -6385,7 +6374,17 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" dependencies = [ - "windows-core", + "windows-core 0.52.0", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" +dependencies = [ + "windows-core 0.57.0", "windows-targets 0.52.6", ] @@ -6398,6 +6397,49 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-core" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-result", + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-implement" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.72", +] + +[[package]] +name = "windows-interface" +version = "0.57.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.72", +] + +[[package]] +name = "windows-result" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-sys" version = "0.48.0" diff --git a/server/Cargo.toml b/server/Cargo.toml index 07c68125c..bd5062d56 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -72,7 +72,7 @@ actix-governor = { version = "0.5.0", features = ["logger"] } tempfile = "3.10.1" base64 = "0.22.1" time = "0.3.36" -polars = { version = "0.41.3", features = ["dtype-struct", "parquet"] } +polars = { version = "0.42.0", features = ["dtype-struct", "parquet"] } #polars = { git = "https://github.com/CommanderStorm/polars.git", branch = "serialisation-experiment", features = ["parquet", "serde", "dtype-full"] } [dev-dependencies]