From 92acba0366207e30528d371098096c3958496850 Mon Sep 17 00:00:00 2001 From: sundyli <543950155@qq.com> Date: Mon, 10 Apr 2023 10:52:12 +0800 Subject: [PATCH] chore: bump arrow-rs --- Cargo.toml | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4b29ddf9a2..bc0ff47208 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,10 @@ license = "Apache-2.0" description = "Unofficial implementation of Apache Arrow spec in safe Rust" homepage = "https://github.com/jorgecarleitao/arrow2" repository = "https://github.com/jorgecarleitao/arrow2" -authors = ["Jorge C. Leitao ", "Apache Arrow "] +authors = [ + "Jorge C. Leitao ", + "Apache Arrow ", +] keywords = ["arrow", "analytics"] edition = "2021" exclude = ["testing/"] @@ -51,7 +54,9 @@ regex-syntax = { version = "^0.6", optional = true } streaming-iterator = { version = "0.1", optional = true } fallible-streaming-iterator = { version = "0.1", optional = true } -json-deserializer = { version = "0.4.4", optional = true, features = ["preserve_order"] } +json-deserializer = { version = "0.4.4", optional = true, features = [ + "preserve_order", +] } indexmap = { version = "^1.6", optional = true } # used to print columns in a nice columnar format @@ -86,7 +91,9 @@ orc-format = { version = "0.3.0", optional = true } # Arrow integration tests support serde = { version = "^1.0", features = ["rc"], optional = true } serde_derive = { version = "^1.0", optional = true } -serde_json = { version = "^1.0", features = ["preserve_order"], optional = true } +serde_json = { version = "^1.0", features = [ + "preserve_order", +], optional = true } # for division/remainder optimization at runtime strength_reduce = { version = "0.2", optional = true } @@ -101,8 +108,8 @@ odbc-api = { version = "0.36", optional = true } ahash = "0.8" # Support conversion to/from arrow-rs -arrow-buffer = { version = "35.0.0", optional = true } -arrow-schema = { version = "35.0.0", optional = true } +arrow-buffer = { version = "36.0.0", optional = true } +arrow-schema = { version = "36.0.0", optional = true } [target.wasm32-unknown-unknown.dependencies] getrandom = { version = "0.2", features = ["js"] } @@ -166,7 +173,13 @@ io_csv_async = ["io_csv_read_async"] io_csv_read = ["csv", "lexical-core"] io_csv_read_async = ["csv-async", "lexical-core", "futures"] io_csv_write = ["csv-core", "streaming-iterator", "lexical-core"] -io_json = ["json-deserializer", "streaming-iterator", "fallible-streaming-iterator", "indexmap", "lexical-core"] +io_json = [ + "json-deserializer", + "streaming-iterator", + "fallible-streaming-iterator", + "indexmap", + "lexical-core", +] io_ipc = ["arrow-format"] io_ipc_write_async = ["io_ipc", "futures"] io_ipc_read_async = ["io_ipc", "futures", "async-stream"] @@ -174,14 +187,21 @@ io_ipc_compression = ["lz4", "zstd"] io_flight = ["io_ipc", "arrow-format/flight-data"] # base64 + io_ipc because arrow schemas are stored as base64-encoded ipc format. -io_parquet = ["parquet2", "io_ipc", "base64", "futures", "streaming-iterator", "fallible-streaming-iterator"] +io_parquet = [ + "parquet2", + "io_ipc", + "base64", + "futures", + "streaming-iterator", + "fallible-streaming-iterator", +] io_parquet_compression = [ "io_parquet_zstd", "io_parquet_gzip", "io_parquet_snappy", "io_parquet_lz4", - "io_parquet_brotli" + "io_parquet_brotli", ] # compression backends @@ -196,9 +216,7 @@ io_parquet_brotli = ["parquet2/brotli"] io_parquet_bloom_filter = ["parquet2/bloom_filter"] io_avro = ["avro-schema", "streaming-iterator"] -io_avro_compression = [ - "avro-schema/compression", -] +io_avro_compression = ["avro-schema/compression"] io_avro_async = ["avro-schema/async"] io_orc = ["orc-format"] @@ -258,7 +276,7 @@ compute = [ "compute_take", "compute_temporal", "compute_utf8", - "compute_window" + "compute_window", ] benchmarks = ["rand"] serde_types = ["serde", "serde_derive"]