diff --git a/oxen/Cargo.lock b/oxen/Cargo.lock index ae8a014..d4716a3 100644 --- a/oxen/Cargo.lock +++ b/oxen/Cargo.lock @@ -54,7 +54,7 @@ dependencies = [ "actix-tls", "actix-utils", "ahash 0.8.11", - "base64", + "base64 0.21.7", "bitflags 2.5.0", "brotli", "bytes", @@ -63,8 +63,8 @@ dependencies = [ "encoding_rs", "flate2", "futures-core", - "h2", - "http", + "h2 0.3.25", + "http 0.2.12", "httparse", "httpdate", "itoa", @@ -99,7 +99,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d22475596539443685426b6bdadb926ad0ecaefdfc5fb05e5e3441f15463c511" dependencies = [ "bytestring", - "http", + "http 0.2.12", "regex", "serde", "tracing", @@ -402,11 +402,10 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "arrow" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bc25126d18a012146a888a0298f2c22e1150327bd2765fc76d710a556b2d614" +checksum = "219d05930b81663fd3b32e3bde8ce5bff3c4d23052a99f11a8fa50a3b47b2658" dependencies = [ - "ahash 0.8.11", "arrow-arith", "arrow-array", "arrow-buffer", @@ -421,9 +420,9 @@ dependencies = [ [[package]] name = "arrow-arith" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ccd45e217ffa6e53bbb0080990e77113bdd4e91ddb84e97b77649810bcf1a7" +checksum = "0272150200c07a86a390be651abdd320a2d12e84535f0837566ca87ecd8f95e0" dependencies = [ "arrow-array", "arrow-buffer", @@ -436,9 +435,9 @@ dependencies = [ [[package]] name = "arrow-array" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bda9acea48b25123c08340f3a8ac361aa0f74469bb36f5ee9acf923fce23e9d" +checksum = "8010572cf8c745e242d1b632bd97bd6d4f40fefed5ed1290a8f433abaa686fea" dependencies = [ "ahash 0.8.11", "arrow-buffer", @@ -452,9 +451,9 @@ dependencies = [ [[package]] name = "arrow-buffer" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a0fc21915b00fc6c2667b069c1b64bdd920982f426079bc4a7cab86822886c" +checksum = "0d0a2432f0cba5692bf4cb757469c66791394bac9ec7ce63c1afe74744c37b27" dependencies = [ "bytes", "half", @@ -463,28 +462,30 @@ dependencies = [ [[package]] name = "arrow-cast" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dc0368ed618d509636c1e3cc20db1281148190a78f43519487b2daf07b63b4a" +checksum = "9abc10cd7995e83505cc290df9384d6e5412b207b79ce6bdff89a10505ed2cba" dependencies = [ "arrow-array", "arrow-buffer", "arrow-data", "arrow-schema", "arrow-select", - "base64", + "atoi", + "base64 0.22.0", "chrono", "comfy-table", "half", "lexical-core", "num", + "ryu", ] [[package]] name = "arrow-data" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907fafe280a3874474678c1858b9ca4cb7fd83fb8034ff5b6d6376205a08c634" +checksum = "2742ac1f6650696ab08c88f6dd3f0eb68ce10f8c253958a18c943a68cd04aec5" dependencies = [ "arrow-buffer", "arrow-schema", @@ -492,21 +493,11 @@ dependencies = [ "num", ] -[[package]] -name = "arrow-format" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07884ea216994cdc32a2d5f8274a8bee979cfe90274b83f86f440866ee3132c7" -dependencies = [ - "planus", - "serde", -] - [[package]] name = "arrow-json" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82565c91fd627922ebfe2810ee4e8346841b6f9361b87505a9acea38b614fee" +checksum = "eaafb5714d4e59feae964714d724f880511500e3569cc2a94d02456b403a2a49" dependencies = [ "arrow-array", "arrow-buffer", @@ -524,9 +515,9 @@ dependencies = [ [[package]] name = "arrow-ord" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b23b0e53c0db57c6749997fd343d4c0354c994be7eca67152dd2bdb9a3e1bb4" +checksum = "e3e6b61e3dc468f503181dccc2fc705bdcc5f2f146755fa5b56d0a6c5943f412" dependencies = [ "arrow-array", "arrow-buffer", @@ -539,9 +530,9 @@ dependencies = [ [[package]] name = "arrow-row" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "361249898d2d6d4a6eeb7484be6ac74977e48da12a4dd81a708d620cc558117a" +checksum = "848ee52bb92eb459b811fb471175ea3afcf620157674c8794f539838920f9228" dependencies = [ "ahash 0.8.11", "arrow-array", @@ -554,18 +545,18 @@ dependencies = [ [[package]] name = "arrow-schema" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09e28a5e781bf1b0f981333684ad13f5901f4cd2f20589eab7cf1797da8fc167" +checksum = "02d9483aaabe910c4781153ae1b6ae0393f72d9ef757d38d09d450070cf2e528" dependencies = [ "bitflags 2.5.0", ] [[package]] name = "arrow-select" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f6208466590960efc1d2a7172bc4ff18a67d6e25c529381d7f96ddaf0dc4036" +checksum = "849524fa70e0e3c5ab58394c770cb8f514d0122d20de08475f7b472ed8075830" dependencies = [ "ahash 0.8.11", "arrow-array", @@ -577,15 +568,16 @@ dependencies = [ [[package]] name = "arrow-string" -version = "49.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a48149c63c11c9ff571e50ab8f017d2a7cb71037a882b42f6354ed2da9acc7" +checksum = "9373cb5a021aee58863498c37eb484998ef13377f69989c6c5ccfbd258236cdb" dependencies = [ "arrow-array", "arrow-buffer", "arrow-data", "arrow-schema", "arrow-select", + "memchr", "num", "regex", "regex-syntax", @@ -888,6 +880,12 @@ version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +[[package]] +name = "base64" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" + [[package]] name = "bindgen" version = "0.69.4" @@ -897,7 +895,7 @@ dependencies = [ "bitflags 2.5.0", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools", "lazy_static", "lazycell", "proc-macro2", @@ -1177,6 +1175,28 @@ dependencies = [ "windows-targets 0.52.4", ] +[[package]] +name = "chrono-tz" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d59ae0466b83e838b81a54256c39d5d7c20b9d7daa10510a242d9b75abd5936e" +dependencies = [ + "chrono", + "chrono-tz-build", + "phf", +] + +[[package]] +name = "chrono-tz-build" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "433e39f13c9a060046954e0592a8d0a4bcb1040125cbf91cb8ee58964cfb350f" +dependencies = [ + "parse-zoneinfo", + "phf", + "phf_codegen", +] + [[package]] name = "clang-sys" version = "1.7.0" @@ -1467,6 +1487,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "data-encoding" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" + [[package]] name = "deadqueue" version = "0.2.4" @@ -1545,9 +1571,9 @@ checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" [[package]] name = "duckdb" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "326e8f84acb4d57c4025637f77e89dc3eee0e25b3a79c21cfd8b72db5ecd3c97" +checksum = "424ede399a5d1084e65c0888fda71e407e5809400c92ff2cf510bfd1697b9c76" dependencies = [ "arrow", "cast", @@ -1606,17 +1632,27 @@ dependencies = [ "syn 2.0.57", ] +[[package]] +name = "env_filter" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" +dependencies = [ + "log", + "regex", +] + [[package]] name = "env_logger" -version = "0.10.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9" dependencies = [ + "anstream", + "anstyle", + "env_filter", "humantime", - "is-terminal", "log", - "regex", - "termcolor", ] [[package]] @@ -2034,7 +2070,26 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "h2" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 1.1.0", "indexmap", "slab", "tokio", @@ -2104,6 +2159,12 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + [[package]] name = "home" version = "0.5.9" @@ -2124,6 +2185,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -2131,7 +2203,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.12", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +dependencies = [ + "bytes", + "futures-core", + "http 1.1.0", + "http-body 1.0.0", "pin-project-lite", ] @@ -2169,31 +2264,73 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", - "http", - "http-body", + "h2 0.3.25", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.6", "tokio", "tower-service", "tracing", "want", ] +[[package]] +name = "hyper" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186548d73ac615b32a73aafe38fb4f56c0d340e110e5a200bcadbaf2e199263a" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2 0.4.4", + "http 1.1.0", + "http-body 1.0.0", + "httparse", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + [[package]] name = "hyper-tls" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", - "hyper", + "http-body-util", + "hyper 1.2.0", + "hyper-util", "native-tls", "tokio", "tokio-native-tls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "hyper 1.2.0", + "pin-project-lite", + "socket2 0.5.6", + "tokio", + "tower", + "tower-service", + "tracing", ] [[package]] @@ -2333,26 +2470,6 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" -[[package]] -name = "is-terminal" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.1" @@ -2368,6 +2485,12 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "itoap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8" + [[package]] name = "jobserver" version = "0.1.28" @@ -2395,6 +2518,17 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "jsonpath_lib_polars_vendor" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4bd9354947622f7471ff713eacaabdb683ccb13bba4edccaab9860abf480b7d" +dependencies = [ + "log", + "serde", + "serde_json", +] + [[package]] name = "jwalk" version = "0.8.1" @@ -2510,9 +2644,9 @@ checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libduckdb-sys" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666dbbb7ac31fc49fc2535df5d6efe9ce09815783a0ad98eea3564d2f0223974" +checksum = "51b3f02cecc430f61561bde538d42af4be2d9d5a8b058f74883e460bc1055461" dependencies = [ "autocfg", "cc", @@ -2542,9 +2676,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "liboxen" -version = "0.14.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1891b31d87274623d6d1c2daa0855d4476a3f4397e1f404a4ef65c25fa4202c5" +checksum = "80f1ff058bfb8588f832c79995202b18992396e5552fb183c61c929f0a823ae8" dependencies = [ "actix-files", "actix-web", @@ -2578,12 +2712,12 @@ dependencies = [ "futures", "futures-util", "glob", - "http", + "http 1.1.0", "ignore", "image", "indicatif", "infer", - "itertools 0.11.0", + "itertools", "jwalk", "lazy_static", "lofty", @@ -2595,7 +2729,7 @@ dependencies = [ "os_path", "pluralizer", "polars", - "polars-sql", + "polars-sql 0.38.3", "qsv-sniffer", "r2d2", "rand", @@ -2607,10 +2741,11 @@ dependencies = [ "serde_derive", "serde_json", "serde_url_params", + "sha2", "signal-hook", "simdutf8", "sql_query_builder", - "sysinfo 0.29.11", + "sysinfo", "tar", "threadpool", "time", @@ -2704,17 +2839,16 @@ dependencies = [ [[package]] name = "lofty" -version = "0.16.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c18ba58211b3c3557970755d7afc3a7438c2d4557bcd684470b2195c0ae66e53" +checksum = "f75066eb1d25a7047fb2667edb410ae2592439ed81546f95c28b0a1c7d7d3818" dependencies = [ - "base64", "byteorder", + "data-encoding", "flate2", "lofty_attr", "log", "ogg_pager", - "once_cell", "paste", ] @@ -2835,7 +2969,7 @@ dependencies = [ "assert-json-diff", "colored", "futures-core", - "hyper", + "hyper 0.14.28", "log", "rand", "regex", @@ -3037,9 +3171,9 @@ dependencies = [ [[package]] name = "ogg_pager" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d218a406e5de88e1c492d0162d569916f7436efe851ba5cc40a4bf4fa97cb40" +checksum = "c949d63b387b25c332f6e39d1762dd4b405008289dd7681f02c258b1294653ca" dependencies = [ "byteorder", ] @@ -3102,16 +3236,16 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "os_path" -version = "0.6.4" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f95291bdb0f2a1b00b529554dae6a7dc751ce9b487c690c305fbbd2feb9d446" +checksum = "c0ae9dbc17d4751ae5856da729af04b09bd342657afb416fb95f63e54727459b" dependencies = [ "serde", ] [[package]] name = "oxen" -version = "0.14.8" +version = "0.15.0" dependencies = [ "bindgen", "cc", @@ -3166,6 +3300,15 @@ dependencies = [ "futures", ] +[[package]] +name = "parse-zoneinfo" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41" +dependencies = [ + "regex", +] + [[package]] name = "paste" version = "1.0.14" @@ -3178,6 +3321,44 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "phf" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" +dependencies = [ + "phf_shared", +] + +[[package]] +name = "phf_codegen" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" +dependencies = [ + "phf_generator", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" +dependencies = [ + "phf_shared", + "rand", +] + +[[package]] +name = "phf_shared" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project" version = "1.1.5" @@ -3250,31 +3431,71 @@ dependencies = [ [[package]] name = "polars" -version = "0.36.2" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ea21b858b16b9c0e17a12db2800d11aa5b4bd182be6b3022eb537bbfc1f2db5" +dependencies = [ + "getrandom", + "polars-arrow 0.39.2", + "polars-core 0.39.2", + "polars-error 0.39.2", + "polars-io 0.39.2", + "polars-lazy 0.39.2", + "polars-ops 0.39.2", + "polars-parquet", + "polars-sql 0.39.2", + "polars-time 0.39.2", + "polars-utils 0.39.2", + "version_check", +] + +[[package]] +name = "polars-arrow" +version = "0.38.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938048fcda6a8e2ace6eb168bee1b415a92423ce51e418b853bf08fc40349b6b" +checksum = "25197f40d71f82b2f79bb394f03e555d3cc1ce4db1dd052c28318721c71e96ad" dependencies = [ + "ahash 0.8.11", + "atoi", + "atoi_simd", + "bytemuck", + "chrono", + "chrono-tz", + "dyn-clone", + "either", + "ethnum", + "fast-float", + "foreign_vec", "getrandom", - "polars-core", - "polars-io", - "polars-lazy", - "polars-ops", - "polars-sql", - "polars-time", + "hashbrown 0.14.3", + "itoa", + "itoap", + "lz4", + "multiversion", + "num-traits", + "polars-arrow-format", + "polars-error 0.38.3", + "polars-utils 0.38.3", + "ryu", + "simdutf8", + "streaming-iterator", + "strength_reduce", "version_check", + "zstd", ] [[package]] name = "polars-arrow" -version = "0.36.2" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce68a02f698ff7787c261aea1b4c040a8fe183a8fb200e2436d7f35d95a1b86f" +checksum = "725b09f2b5ef31279b66e27bbab63c58d49d8f6696b66b1f46c7eaab95e80f75" dependencies = [ "ahash 0.8.11", - "arrow-format", + "atoi", "atoi_simd", "bytemuck", "chrono", + "chrono-tz", "dyn-clone", "either", "ethnum", @@ -3284,11 +3505,13 @@ dependencies = [ "getrandom", "hashbrown 0.14.3", "itoa", + "itoap", "lz4", "multiversion", "num-traits", - "polars-error", - "polars-utils", + "polars-arrow-format", + "polars-error 0.39.2", + "polars-utils 0.39.2", "ryu", "simdutf8", "streaming-iterator", @@ -3297,40 +3520,69 @@ dependencies = [ "zstd", ] +[[package]] +name = "polars-arrow-format" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b0ef2474af9396b19025b189d96e992311e6a47f90c53cd998b36c4c64b84c" +dependencies = [ + "planus", + "serde", +] + +[[package]] +name = "polars-compute" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c354515f73cdbbad03c2bf723fcd68e6825943b3ec503055abc8a8cb08ce46bb" +dependencies = [ + "bytemuck", + "either", + "num-traits", + "polars-arrow 0.38.3", + "polars-error 0.38.3", + "polars-utils 0.38.3", + "strength_reduce", + "version_check", +] + [[package]] name = "polars-compute" -version = "0.36.2" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b14fbc5f141b29b656a4cec4802632e5bff10bf801c6809c6bbfbd4078a044dd" +checksum = "a796945b14b14fbb79b91ef0406e6fddca2be636e889f81ea5d6ee7d36efb4fe" dependencies = [ "bytemuck", + "either", "num-traits", - "polars-arrow", - "polars-utils", + "polars-arrow 0.39.2", + "polars-error 0.39.2", + "polars-utils 0.39.2", + "strength_reduce", "version_check", ] [[package]] name = "polars-core" -version = "0.36.2" +version = "0.38.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f5efe734b6cbe5f97ea769be8360df5324fade396f1f3f5ad7fe9360ca4a23" +checksum = "6f20d3c227186f74aa3c228c64ef72f5a15617322fed30b4323eaf53b25f8e7b" dependencies = [ "ahash 0.8.11", "bitflags 2.5.0", "bytemuck", "chrono", - "comfy-table", + "chrono-tz", "either", "hashbrown 0.14.3", "indexmap", "num-traits", "once_cell", - "polars-arrow", - "polars-compute", - "polars-error", - "polars-row", - "polars-utils", + "polars-arrow 0.38.3", + "polars-compute 0.38.3", + "polars-error 0.38.3", + "polars-row 0.38.3", + "polars-utils 0.38.3", "rand", "rand_distr", "rayon", @@ -3342,22 +3594,89 @@ dependencies = [ ] [[package]] -name = "polars-error" -version = "0.36.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6396de788f99ebfc9968e7b6f523e23000506cde4ba6dfc62ae4ce949002a886" -dependencies = [ - "arrow-format", - "regex", - "simdutf8", - "thiserror", -] - -[[package]] -name = "polars-io" -version = "0.36.2" +name = "polars-core" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d0458efe8946f4718fd352f230c0db5a37926bd0d2bd25af79dc24746abaaea" +checksum = "465f70d3e96b6d0b1a43c358ba451286b8c8bd56696feff020d65702aa33e35c" +dependencies = [ + "ahash 0.8.11", + "bitflags 2.5.0", + "bytemuck", + "chrono", + "chrono-tz", + "comfy-table", + "either", + "hashbrown 0.14.3", + "indexmap", + "num-traits", + "once_cell", + "polars-arrow 0.39.2", + "polars-compute 0.39.2", + "polars-error 0.39.2", + "polars-row 0.39.2", + "polars-utils 0.39.2", + "rand", + "rand_distr", + "rayon", + "regex", + "smartstring", + "thiserror", + "version_check", + "xxhash-rust", +] + +[[package]] +name = "polars-error" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dd0ce51f8bd620eb8bd376502fe68a2b1a446d5433ecd2e75270b0755ce76" +dependencies = [ + "polars-arrow-format", + "regex", + "simdutf8", + "thiserror", +] + +[[package]] +name = "polars-error" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5224d5d05e6b8a6f78b75951ae1b5f82c8ab1979e11ffaf5fd41941e3d5b0757" +dependencies = [ + "polars-arrow-format", + "regex", + "simdutf8", + "thiserror", +] + +[[package]] +name = "polars-io" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b40bef2edcdc58394792c4d779465144283a09ff1836324e7b72df7978a6e992" +dependencies = [ + "ahash 0.8.11", + "bytes", + "home", + "memchr", + "memmap2", + "num-traits", + "once_cell", + "percent-encoding", + "polars-arrow 0.38.3", + "polars-core 0.38.3", + "polars-error 0.38.3", + "polars-utils 0.38.3", + "rayon", + "regex", + "smartstring", +] + +[[package]] +name = "polars-io" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2c8589e418cbe4a48228d64b2a8a40284a82ec3c98817c0c2bcc0267701338b" dependencies = [ "ahash 0.8.11", "async-trait", @@ -3373,13 +3692,13 @@ dependencies = [ "num-traits", "once_cell", "percent-encoding", - "polars-arrow", - "polars-core", - "polars-error", + "polars-arrow 0.39.2", + "polars-core 0.39.2", + "polars-error 0.39.2", "polars-json", "polars-parquet", - "polars-time", - "polars-utils", + "polars-time 0.39.2", + "polars-utils 0.39.2", "rayon", "regex", "ryu", @@ -3393,9 +3712,9 @@ dependencies = [ [[package]] name = "polars-json" -version = "0.36.2" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea47d46b7a98fa683ef235ad48b783abf61734828e754096cfbdc77404fff9b3" +checksum = "81224492a649a12b668480c0cf219d703f432509765d2717e72fe32ad16fc701" dependencies = [ "ahash 0.8.11", "chrono", @@ -3404,9 +3723,9 @@ dependencies = [ "indexmap", "itoa", "num-traits", - "polars-arrow", - "polars-error", - "polars-utils", + "polars-arrow 0.39.2", + "polars-error 0.39.2", + "polars-utils 0.39.2", "ryu", "simd-json", "streaming-iterator", @@ -3414,23 +3733,46 @@ dependencies = [ [[package]] name = "polars-lazy" -version = "0.36.2" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c27df26a19d3092298d31d47614ad84dc330c106e38aa8cd53727cd91c07cf56" +dependencies = [ + "ahash 0.8.11", + "bitflags 2.5.0", + "glob", + "once_cell", + "polars-arrow 0.38.3", + "polars-core 0.38.3", + "polars-io 0.38.3", + "polars-ops 0.38.3", + "polars-pipe 0.38.3", + "polars-plan 0.38.3", + "polars-time 0.38.3", + "polars-utils 0.38.3", + "rayon", + "smartstring", + "version_check", +] + +[[package]] +name = "polars-lazy" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d7105b40905bb38e8fc4a7fd736594b7491baa12fad3ac492969ca221a1b5d5" +checksum = "89b2632b1af668e2058d5f8f916d8fbde3cac63d03ae29a705f598e41dcfeb7f" dependencies = [ "ahash 0.8.11", "bitflags 2.5.0", "glob", "once_cell", - "polars-arrow", - "polars-core", - "polars-io", + "polars-arrow 0.39.2", + "polars-core 0.39.2", + "polars-io 0.39.2", "polars-json", - "polars-ops", - "polars-pipe", - "polars-plan", - "polars-time", - "polars-utils", + "polars-ops 0.39.2", + "polars-pipe 0.39.2", + "polars-plan 0.39.2", + "polars-time 0.39.2", + "polars-utils 0.39.2", "rayon", "smartstring", "version_check", @@ -3438,38 +3780,76 @@ dependencies = [ [[package]] name = "polars-ops" -version = "0.36.2" +version = "0.38.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e09afc456ab11e75e5dcb43e00a01c71f3a46a2781e450054acb6bb096ca78e" +checksum = "7f8a51c3bdc9e7c34196ff6f5c3cb17da134e5aafb1756aaf24b76c7118e63dc" dependencies = [ "ahash 0.8.11", "argminmax", + "base64 0.21.7", "bytemuck", + "chrono", + "chrono-tz", "either", "hashbrown 0.14.3", + "hex", "indexmap", "memchr", "num-traits", - "polars-arrow", - "polars-compute", - "polars-core", - "polars-error", - "polars-utils", + "polars-arrow 0.38.3", + "polars-compute 0.38.3", + "polars-core 0.38.3", + "polars-error 0.38.3", + "polars-utils 0.38.3", "rayon", "regex", "smartstring", + "unicode-reverse", + "version_check", +] + +[[package]] +name = "polars-ops" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efdbdb4d9a92109bc2e0ce8e17af5ae8ab643bb5b7ee9d1d74f0aeffd1fbc95f" +dependencies = [ + "ahash 0.8.11", + "argminmax", + "base64 0.21.7", + "bytemuck", + "chrono", + "chrono-tz", + "either", + "hashbrown 0.14.3", + "hex", + "indexmap", + "jsonpath_lib_polars_vendor", + "memchr", + "num-traits", + "polars-arrow 0.39.2", + "polars-compute 0.39.2", + "polars-core 0.39.2", + "polars-error 0.39.2", + "polars-json", + "polars-utils 0.39.2", + "rayon", + "regex", + "serde_json", + "smartstring", + "unicode-reverse", "version_check", ] [[package]] name = "polars-parquet" -version = "0.36.2" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba24d67b1f64ab85143033dd46fa090b13c0f74acdf91b0780c16aecf005e3d" +checksum = "b421d2196f786fdfe162db614c8485f8308fe41575d4de634a39bbe460d1eb6a" dependencies = [ "ahash 0.8.11", "async-stream", - "base64", + "base64 0.21.7", "brotli", "ethnum", "flate2", @@ -3477,9 +3857,9 @@ dependencies = [ "lz4", "num-traits", "parquet-format-safe", - "polars-arrow", - "polars-error", - "polars-utils", + "polars-arrow 0.39.2", + "polars-error 0.39.2", + "polars-utils 0.39.2", "seq-macro", "simdutf8", "snap", @@ -3489,47 +3869,100 @@ dependencies = [ [[package]] name = "polars-pipe" -version = "0.36.2" +version = "0.38.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b7ead073cc3917027d77b59861a9f071db47125de9314f8907db1a0a3e4100" +checksum = "0c5e2c1f14e81d60cfa9afe4e611a9bad9631a2cb7cd19b7c0094d0dc32f0231" dependencies = [ "crossbeam-channel", "crossbeam-queue", "enum_dispatch", "hashbrown 0.14.3", "num-traits", - "polars-arrow", - "polars-compute", - "polars-core", - "polars-io", - "polars-ops", - "polars-plan", - "polars-row", - "polars-utils", + "polars-arrow 0.38.3", + "polars-compute 0.38.3", + "polars-core 0.38.3", + "polars-io 0.38.3", + "polars-ops 0.38.3", + "polars-plan 0.38.3", + "polars-row 0.38.3", + "polars-utils 0.38.3", + "rayon", + "smartstring", + "uuid", + "version_check", +] + +[[package]] +name = "polars-pipe" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48700f1d5bd56a15451e581f465c09541492750360f18637b196f995470a015c" +dependencies = [ + "crossbeam-channel", + "crossbeam-queue", + "enum_dispatch", + "hashbrown 0.14.3", + "num-traits", + "polars-arrow 0.39.2", + "polars-compute 0.39.2", + "polars-core 0.39.2", + "polars-io 0.39.2", + "polars-ops 0.39.2", + "polars-plan 0.39.2", + "polars-row 0.39.2", + "polars-utils 0.39.2", + "rayon", + "smartstring", + "uuid", + "version_check", +] + +[[package]] +name = "polars-plan" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff48362bd1b078bbbec7e7ba9ec01fea58fee2887db22a8e3deaf78f322fa3c4" +dependencies = [ + "ahash 0.8.11", + "bytemuck", + "chrono-tz", + "once_cell", + "percent-encoding", + "polars-arrow 0.38.3", + "polars-core 0.38.3", + "polars-io 0.38.3", + "polars-ops 0.38.3", + "polars-time 0.38.3", + "polars-utils 0.38.3", "rayon", + "regex", "smartstring", + "strum_macros", "version_check", ] [[package]] name = "polars-plan" -version = "0.36.2" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384a175624d050c31c473ee11df9d7af5d729ae626375e522158cfb3d150acd0" +checksum = "2fb8e2302e20c44defd5be8cad9c96e75face63c3a5f609aced8c4ec3b3ac97d" dependencies = [ "ahash 0.8.11", "bytemuck", + "chrono-tz", + "hashbrown 0.14.3", "once_cell", "percent-encoding", - "polars-arrow", - "polars-core", - "polars-io", + "polars-arrow 0.39.2", + "polars-core 0.39.2", + "polars-io 0.39.2", "polars-json", - "polars-ops", + "polars-ops 0.39.2", "polars-parquet", - "polars-time", - "polars-utils", + "polars-time 0.39.2", + "polars-utils 0.39.2", "rayon", + "recursive", "regex", "smartstring", "strum_macros", @@ -3538,26 +3971,58 @@ dependencies = [ [[package]] name = "polars-row" -version = "0.36.2" +version = "0.38.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32322f7acbb83db3e9c7697dc821be73d06238da89c817dcc8bc1549a5e9c72f" +checksum = "63029da56ff6a720b190490bbc7b6263f9b72d1134311b1f381fc8d306d37770" dependencies = [ - "polars-arrow", - "polars-error", - "polars-utils", + "bytemuck", + "polars-arrow 0.38.3", + "polars-error 0.38.3", + "polars-utils 0.38.3", +] + +[[package]] +name = "polars-row" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a515bdc68c2ae3702e3de70d89601f3b71ca8137e282a226dddb53ee4bacfa2e" +dependencies = [ + "bytemuck", + "polars-arrow 0.39.2", + "polars-error 0.39.2", + "polars-utils 0.39.2", +] + +[[package]] +name = "polars-sql" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3652c362959f608d1297196b973d1e3acb508a9562b886ac39bf7606b841052b" +dependencies = [ + "hex", + "polars-arrow 0.38.3", + "polars-core 0.38.3", + "polars-error 0.38.3", + "polars-lazy 0.38.3", + "polars-plan 0.38.3", + "rand", + "serde", + "serde_json", + "sqlparser", ] [[package]] name = "polars-sql" -version = "0.36.2" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f0b4c6ddffdfd0453e84bc3918572c633014d661d166654399cf93752aa95b5" +checksum = "7b4bb7cc1c04c3023d1953b2f1dec50515e8fd8169a5a2bf4967b3b082232db7" dependencies = [ - "polars-arrow", - "polars-core", - "polars-error", - "polars-lazy", - "polars-plan", + "hex", + "polars-arrow 0.39.2", + "polars-core 0.39.2", + "polars-error 0.39.2", + "polars-lazy 0.39.2", + "polars-plan 0.39.2", "rand", "serde", "serde_json", @@ -3566,28 +4031,69 @@ dependencies = [ [[package]] name = "polars-time" -version = "0.36.2" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86eb74ea6ddfe675aa5c3f33c00dadbe2b85f0e8e3887b85db1fd5a3397267fd" +dependencies = [ + "atoi", + "chrono", + "chrono-tz", + "now", + "once_cell", + "polars-arrow 0.38.3", + "polars-core 0.38.3", + "polars-error 0.38.3", + "polars-ops 0.38.3", + "polars-utils 0.38.3", + "regex", + "smartstring", +] + +[[package]] +name = "polars-time" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee2649fc96bd1b6584e0e4a4b3ca7d22ed3d117a990e63ad438ecb26f7544d0" +checksum = "efc18e3ad92eec55db89d88f16c22d436559ba7030cf76f86f6ed7a754b673f1" dependencies = [ "atoi", "chrono", + "chrono-tz", "now", "once_cell", - "polars-arrow", - "polars-core", - "polars-error", - "polars-ops", - "polars-utils", + "polars-arrow 0.39.2", + "polars-core 0.39.2", + "polars-error 0.39.2", + "polars-ops 0.39.2", + "polars-utils 0.39.2", "regex", "smartstring", ] [[package]] name = "polars-utils" -version = "0.36.2" +version = "0.38.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "694656a7d2b0cd8f07660dbc8d0fb7a81066ff57a452264907531d805c1e58c4" +dependencies = [ + "ahash 0.8.11", + "bytemuck", + "hashbrown 0.14.3", + "indexmap", + "num-traits", + "once_cell", + "polars-error 0.38.3", + "raw-cpuid", + "rayon", + "smartstring", + "sysinfo", + "version_check", +] + +[[package]] +name = "polars-utils" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b174ca4a77ad47d7b91a0460aaae65bbf874c8bfbaaa5308675dadef3976bbda" +checksum = "c760b6c698cfe2fbbbd93d6cfb408db14ececfe1d92445dae2229ce1b5b21ae8" dependencies = [ "ahash 0.8.11", "bytemuck", @@ -3595,10 +4101,12 @@ dependencies = [ "indexmap", "num-traits", "once_cell", - "polars-error", + "polars-error 0.39.2", + "raw-cpuid", "rayon", "smartstring", - "sysinfo 0.30.7", + "stacker", + "sysinfo", "version_check", ] @@ -3692,6 +4200,15 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + [[package]] name = "ptr_meta" version = "0.1.4" @@ -3714,9 +4231,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.20.3" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" +checksum = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8" dependencies = [ "cfg-if", "indoc", @@ -3732,9 +4249,8 @@ dependencies = [ [[package]] name = "pyo3-asyncio" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea6b68e93db3622f3bb3bf363246cf948ed5375afe7abff98ccbdd50b184995" +version = "0.21.0" +source = "git+https://github.com/jopemachine/pyo3-asyncio.git?rev=d1ec64076dd1b5c797db4b7b811f588466956d20#d1ec64076dd1b5c797db4b7b811f588466956d20" dependencies = [ "futures", "once_cell", @@ -3746,9 +4262,8 @@ dependencies = [ [[package]] name = "pyo3-asyncio-macros" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c467178e1da6252c95c29ecf898b133f742e9181dca5def15dc24e19d45a39" +version = "0.21.0" +source = "git+https://github.com/jopemachine/pyo3-asyncio.git?rev=d1ec64076dd1b5c797db4b7b811f588466956d20#d1ec64076dd1b5c797db4b7b811f588466956d20" dependencies = [ "proc-macro2", "quote", @@ -3757,9 +4272,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.20.3" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" +checksum = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50" dependencies = [ "once_cell", "target-lexicon", @@ -3767,9 +4282,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.20.3" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" +checksum = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403" dependencies = [ "libc", "pyo3-build-config", @@ -3777,9 +4292,9 @@ dependencies = [ [[package]] name = "pyo3-log" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c10808ee7250403bedb24bc30c32493e93875fef7ba3e4292226fe924f398bd" +checksum = "2af49834b8d2ecd555177e63b273b708dea75150abc6f5341d0a6e1a9623976c" dependencies = [ "arc-swap", "log", @@ -3788,9 +4303,9 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.20.3" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" +checksum = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -3800,9 +4315,9 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.20.3" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" +checksum = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c" dependencies = [ "heck", "proc-macro2", @@ -3813,12 +4328,12 @@ dependencies = [ [[package]] name = "pyo3-polars" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e983cb07cf665ea6e645ae9263c358062580f23a9aee41618a5706d4a7cc21" +checksum = "469bd1d378fb3a34c1b182383e84741d9e7c5451a5d29a3f9c557aac161876cd" dependencies = [ "polars", - "polars-core", + "polars-core 0.39.2", "pyo3", "thiserror", ] @@ -3927,6 +4442,15 @@ dependencies = [ "rand", ] +[[package]] +name = "raw-cpuid" +version = "11.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d86a7c4638d42c44551f4791a20e687dbb4c3de1f33c43dd71e355cd429def1" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "rayon" version = "1.10.0" @@ -3947,11 +4471,31 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "recursive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0786a43debb760f491b1bc0269fe5e84155353c67482b9e60d0cfb596054b43e" +dependencies = [ + "recursive-proc-macro-impl", + "stacker", +] + +[[package]] +name = "recursive-proc-macro-impl" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76009fbe0614077fc1a2ce255e3a1881a2e3a3527097d5dc6d8212c585e7e38b" +dependencies = [ + "quote", + "syn 2.0.57", +] + [[package]] name = "redis" -version = "0.23.3" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f49cdc0bb3f412bf8e7d1bd90fe1d9eb10bc5c399ba90973c14662a27b3f8ba" +checksum = "6472825949c09872e8f2c50bde59fcefc17748b6be5c90fd67cd8b4daca73bfd" dependencies = [ "combine", "itoa", @@ -3959,7 +4503,7 @@ dependencies = [ "r2d2", "ryu", "sha1_smol", - "socket2 0.4.10", + "socket2 0.5.6", "url", ] @@ -4052,21 +4596,23 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.27" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" +checksum = "3e6cc1e89e689536eb5aeede61520e874df5a4707df811cd5da4aa5fbb2aae19" dependencies = [ "async-compression", - "base64", + "base64 0.22.0", "bytes", "encoding_rs", "futures-core", "futures-util", - "h2", - "http", - "http-body", - "hyper", + "h2 0.4.4", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.2.0", "hyper-tls", + "hyper-util", "ipnet", "js-sys", "log", @@ -4241,13 +4787,20 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "1.0.4" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" dependencies = [ - "base64", + "base64 0.22.0", + "rustls-pki-types", ] +[[package]] +name = "rustls-pki-types" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecd36cc4259e3e4514335c4a138c6b43171a8d61d8f5c9348f9fc7529416f247" + [[package]] name = "rustversion" version = "1.0.14" @@ -4370,6 +4923,7 @@ version = "1.0.115" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" dependencies = [ + "indexmap", "itoa", "ryu", "serde", @@ -4423,6 +4977,17 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + [[package]] name = "shlex" version = "1.3.0" @@ -4484,6 +5049,12 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640" +[[package]] +name = "siphasher" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" + [[package]] name = "slab" version = "0.4.9" @@ -4553,9 +5124,9 @@ dependencies = [ [[package]] name = "sql_query_builder" -version = "1.1.4" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "875f7ec94469069ad07d94b1833c78e7b23095a05b523cc61f62a47b253a946b" +checksum = "b371e496dc275fae413896ef31160eaeb949df66a942245cf3f37fb741389611" [[package]] name = "sqlparser" @@ -4566,6 +5137,19 @@ dependencies = [ "log", ] +[[package]] +name = "stacker" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce" +dependencies = [ + "cc", + "cfg-if", + "libc", + "psm", + "winapi", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -4663,9 +5247,9 @@ checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] name = "sysinfo" -version = "0.29.11" +version = "0.30.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666" +checksum = "e9a84fe4cfc513b41cb2596b624e561ec9e7e1c4b46328e496ed56a53514ef2a" dependencies = [ "cfg-if", "core-foundation-sys", @@ -4673,20 +5257,6 @@ dependencies = [ "ntapi", "once_cell", "rayon", - "winapi", -] - -[[package]] -name = "sysinfo" -version = "0.30.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c385888ef380a852a16209afc8cfad22795dd8873d69c9a14d2e2088f118d18" -dependencies = [ - "cfg-if", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", "windows", ] @@ -4761,15 +5331,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - [[package]] name = "thiserror" version = "1.0.58" @@ -4932,14 +5493,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.19.15", + "toml_edit 0.22.9", ] [[package]] @@ -4953,28 +5514,50 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.19.15" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ "indexmap", - "serde", - "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.21.1" +version = "0.22.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4" dependencies = [ "indexmap", + "serde", + "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.5", ] +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-layer" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + [[package]] name = "tower-service" version = "0.3.2" @@ -5049,6 +5632,21 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-reverse" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b6f4888ebc23094adfb574fdca9fdc891826287a6397d2cd28802ffd6f20c76" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "unicode-segmentation" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" + [[package]] name = "unicode-truncate" version = "0.2.0" @@ -5487,11 +6085,20 @@ dependencies = [ "memchr", ] +[[package]] +name = "winnow" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" -version = "0.50.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" dependencies = [ "cfg-if", "windows-sys 0.48.0", diff --git a/oxen/Cargo.toml b/oxen/Cargo.toml index 11026b5..9011931 100644 --- a/oxen/Cargo.toml +++ b/oxen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxen" -version = "0.14.8" +version = "0.15.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -9,15 +9,16 @@ name = "oxen" crate-type = ["cdylib"] [dependencies] -pyo3 = "0.20.0" -pyo3-asyncio = { version = "0.20.0", features = ["attributes", "tokio-runtime"] } +pyo3 = "0.21.2" +# pyo3-asyncio = { version = "0.20.0", features = ["attributes", "tokio-runtime"] } +pyo3-asyncio = { git = "https://github.com/jopemachine/pyo3-asyncio.git", rev = "d1ec64076dd1b5c797db4b7b811f588466956d20", features = ["attributes", "tokio-runtime"] } log = "0.4.17" -pyo3-log = "0.9.0" +pyo3-log = "0.10.0" tokio = { version = "1", features = ["full"] } -pyo3-polars = "0.10.0" +pyo3-polars = "0.13.0" serde_json = "1.0.106" -liboxen = "0.14.5" -# liboxen = { path = "../../Oxen/src/lib" } +liboxen = "0.15.7" +# liboxen = { path = "../../rust/Oxen/src/lib" } [build-dependencies] cc = { version = "1.0", features = ["parallel"] } diff --git a/oxen/src/lib.rs b/oxen/src/lib.rs index af54acb..7817a45 100644 --- a/oxen/src/lib.rs +++ b/oxen/src/lib.rs @@ -22,7 +22,7 @@ pub mod util; /// A Python module implemented in Rust. #[pymodule] -fn oxen(py: Python, m: &PyModule) -> PyResult<()> { +fn oxen(m: Bound<'_, PyModule>) -> PyResult<()> { let mut builder = tokio::runtime::Builder::new_multi_thread(); builder.enable_all(); pyo3_asyncio::tokio::init(builder); @@ -56,39 +56,39 @@ fn oxen(py: Python, m: &PyModule) -> PyResult<()> { m.add_class::()?; // Util Module - let util_module = PyModule::new(py, "util")?; - util_module.add_function(wrap_pyfunction!(util::is_tabular, util_module)?)?; - util_module.add_function(wrap_pyfunction!(util::read_df, util_module)?)?; - util_module.add_function(wrap_pyfunction!(util::get_oxen_config_dir, util_module)?)?; - m.add_submodule(util_module)?; + let util_module = PyModule::new_bound(m.py(), "util")?; + util_module.add_function(wrap_pyfunction!(util::is_tabular, &util_module)?)?; + util_module.add_function(wrap_pyfunction!(util::read_df, &util_module)?)?; + util_module.add_function(wrap_pyfunction!(util::get_oxen_config_dir, &util_module)?)?; + m.add_submodule(&util_module)?; // Auth Module - let auth_module = PyModule::new(py, "auth")?; - auth_module.add_function(wrap_pyfunction!(auth::config_auth, auth_module)?)?; - m.add_submodule(auth_module)?; + let auth_module = PyModule::new_bound(m.py(), "auth")?; + auth_module.add_function(wrap_pyfunction!(auth::config_auth, &auth_module)?)?; + m.add_submodule(&auth_module)?; // User Module - let user_module = PyModule::new(py, "user")?; - user_module.add_function(wrap_pyfunction!(user::config_user, user_module)?)?; - user_module.add_function(wrap_pyfunction!(user::current_user, user_module)?)?; - m.add_submodule(user_module)?; + let user_module = PyModule::new_bound(m.py(), "user")?; + user_module.add_function(wrap_pyfunction!(user::config_user, &user_module)?)?; + user_module.add_function(wrap_pyfunction!(user::current_user, &user_module)?)?; + m.add_submodule(&user_module)?; // Remote Module - let remote_module = PyModule::new(py, "remote")?; - remote_module.add_function(wrap_pyfunction!(remote::get_repo, remote_module)?)?; - remote_module.add_function(wrap_pyfunction!(remote::create_repo, remote_module)?)?; - m.add_submodule(remote_module)?; + let remote_module = PyModule::new_bound(m.py(), "remote")?; + remote_module.add_function(wrap_pyfunction!(remote::get_repo, &remote_module)?)?; + remote_module.add_function(wrap_pyfunction!(remote::create_repo, &remote_module)?)?; + m.add_submodule(&remote_module)?; // Diff Module - let diff_module = PyModule::new(py, "diff")?; - diff_module.add_function(wrap_pyfunction!(diff::diff_paths, diff_module)?)?; - m.add_submodule(diff_module)?; + let diff_module = PyModule::new_bound(m.py(), "diff")?; + diff_module.add_function(wrap_pyfunction!(diff::diff_paths, &diff_module)?)?; + m.add_submodule(&diff_module)?; // DataFrame (df) Module - let df_module = PyModule::new(py, "df_utils")?; - df_module.add_function(wrap_pyfunction!(df_utils::save, df_module)?)?; - df_module.add_function(wrap_pyfunction!(df_utils::load, df_module)?)?; - m.add_submodule(df_module)?; + let df_module = PyModule::new_bound(m.py(), "df_utils")?; + df_module.add_function(wrap_pyfunction!(df_utils::save, &df_module)?)?; + df_module.add_function(wrap_pyfunction!(df_utils::load, &df_module)?)?; + m.add_submodule(&df_module)?; Ok(()) }