[package]
name = "arrow2"
version = "0.10.0"
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 <jorgecarleitao@gmail.com>", "Apache Arrow <dev@arrow.apache.org>"]
keywords = [ "arrow", "analytics" ]
edition = "2021"
exclude = ["testing/"]
[lib]
name = "arrow2"
bench = false
[dependencies]
either = "1.6"
num-traits = "0.2"
bytemuck = { version = "1", features = ["derive"] }
chrono = { version = "0.4", default_features = false, features = ["std"] }
chrono-tz = { version = "0.6", optional = true }
lexical-core = { version = "0.8", optional = true }
hash_hasher = "^2.0.3"
simdutf8 = "0.1.3"
csv = { version = "^1.1", optional = true }
csv-core = { version = "0.1", optional = true }
csv-async = { version = "^1.1", optional = true }
regex = { version = "^1.3", optional = true }
streaming-iterator = { version = "0.1", optional = true }
fallible-streaming-iterator = { version = "0.1", optional = true }
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 }
indexmap = { version = "^1.6", optional = true }
comfy-table = { version = "5.0", optional = true, default-features = false }
arrow-format = { version = "0.4", optional = true, features = ["ipc"] }
hex = { version = "^0.4", optional = true }
lz4 = { version = "1.23.1", optional = true }
zstd = { version = "0.10", optional = true }
rand = { version = "0.8", optional = true }
itertools = { version = "^0.10", optional = true }
base64 = { version = "0.13.0", optional = true }
futures = { version = "0.3", optional = true }
ahash = { version = "0.7", optional = true }
parquet2 = { version = "0.10", optional = true, default_features = false, features = ["stream"] }
avro-schema = { version = "0.2", optional = true }
libflate = { version = "1.1.1", optional = true }
snap = { version = "1", optional = true }
crc = { version = "2", optional = true }
async-stream = { version = "0.3.2", optional = true }
strength_reduce = { version = "0.2", optional = true }
multiversion = { version = "0.6.1", optional = true }
odbc-api = { version = "0.35", optional = true }
[dev-dependencies]
criterion = "0.3"
flate2 = "1"
doc-comment = "0.3"
crossbeam-channel = "0.5.1"
tokio = { version = "1", features = ["macros", "rt", "fs", "io-util"] }
tokio-util = { version = "0.6", features = ["compat"] }
proptest = { version = "1", default_features = false, features = ["std"] }
avro-rs = { version = "0.13", features = ["snappy"] }
[package.metadata.docs.rs]
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
full = [
"io_odbc",
"io_csv",
"io_csv_async",
"io_json",
"io_ipc",
"io_flight",
"io_ipc_write_async",
"io_ipc_read_async",
"io_ipc_compression",
"io_json_integration",
"io_print",
"io_parquet",
"io_parquet_compression",
"io_avro",
"io_avro_compression",
"io_avro_async",
"regex",
"compute",
"chrono-tz",
]
io_odbc = ["odbc-api"]
io_csv = ["io_csv_read", "io_csv_write"]
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", "csv-core", "streaming-iterator", "lexical-core"]
io_json = ["serde", "serde_json", "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"]
io_ipc_compression = ["lz4", "zstd"]
io_flight = ["io_ipc", "arrow-format/flight-data"]
io_parquet = ["parquet2", "io_ipc", "base64", "futures", "streaming-iterator", "fallible-streaming-iterator"]
io_parquet_compression = [
"parquet2/zstd",
"parquet2/snappy",
"parquet2/gzip",
"parquet2/lz4",
"parquet2/brotli",
]
io_avro = ["avro-schema", "streaming-iterator", "fallible-streaming-iterator", "serde_json"]
io_avro_compression = [
"libflate",
"snap",
"crc",
]
io_avro_async = ["io_avro", "futures", "async-stream"]
io_json_integration = ["io_json", "serde_derive", "hex"]
io_print = ["comfy-table"]
compute_aggregate = ["multiversion"]
compute_arithmetics = ["strength_reduce"]
compute_bitwise = []
compute_boolean = []
compute_boolean_kleene = []
compute_cast = ["lexical-core", "compute_take"]
compute_comparison = ["compute_take", "compute_boolean"]
compute_concatenate = []
compute_contains = []
compute_filter = []
compute_hash = ["multiversion", "ahash"]
compute_if_then_else = []
compute_length = []
compute_like = ["regex"]
compute_limit = []
compute_merge_sort = ["itertools", "compute_sort"]
compute_nullif = ["compute_comparison"]
compute_partition = ["compute_sort"]
compute_regex_match = ["regex"]
compute_sort = ["compute_take"]
compute_substring = []
compute_take = []
compute_temporal = []
compute_window = ["compute_concatenate"]
compute_utf8 = []
compute = [
"compute_aggregate",
"compute_arithmetics",
"compute_bitwise",
"compute_boolean",
"compute_boolean_kleene",
"compute_cast",
"compute_comparison",
"compute_concatenate",
"compute_contains",
"compute_filter",
"compute_hash",
"compute_if_then_else",
"compute_length",
"compute_like",
"compute_limit",
"compute_merge_sort",
"compute_nullif",
"compute_partition",
"compute_regex_match",
"compute_sort",
"compute_substring",
"compute_take",
"compute_temporal",
"compute_utf8",
"compute_window"
]
benchmarks = ["rand"]
serde_types = ["serde", "serde_derive"]
simd = []
[package.metadata.cargo-all-features]
allowlist = ["compute", "compute_sort", "compute_hash", "compute_nullif"]
[[bench]]
name = "take_kernels"
harness = false
[[bench]]
name = "filter_kernels"
harness = false
[[bench]]
name = "cast_kernels"
harness = false
[[bench]]
name = "sort_kernel"
harness = false
[[bench]]
name = "length_kernel"
harness = false
[[bench]]
name = "count_zeros"
harness = false
[[bench]]
name = "growable"
harness = false
[[bench]]
name = "comparison_kernels"
harness = false
[[bench]]
name = "read_parquet"
harness = false
[[bench]]
name = "write_parquet"
harness = false
[[bench]]
name = "aggregate"
harness = false
[[bench]]
name = "write_ipc"
harness = false
[[bench]]
name = "arithmetic_kernels"
harness = false
[[bench]]
name = "bitmap"
harness = false
[[bench]]
name = "concatenate"
harness = false
[[bench]]
name = "bitmap_ops"
harness = false
[[bench]]
name = "write_csv"
harness = false
[[bench]]
name = "hash_kernel"
harness = false
[[bench]]
name = "iter_utf8"
harness = false
[[bench]]
name = "iter_list"
harness = false
[[bench]]
name = "avro_read"
harness = false
[[bench]]
name = "bitwise"
harness = false
[[bench]]
name = "write_json"
harness = false
[[bench]]
name = "slices_iterator"
harness = false