# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70.0" name = "parquet" version = "53.2.0" authors = ["Apache Arrow "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Apache Parquet implementation in Rust" homepage = "https://github.com/apache/arrow-rs" readme = "README.md" keywords = [ "arrow", "parquet", "hadoop", ] license = "Apache-2.0" repository = "https://github.com/apache/arrow-rs" [package.metadata.docs.rs] all-features = true [lib] name = "parquet" path = "src/lib.rs" bench = false [[bin]] name = "parquet-concat" path = "src/bin/parquet-concat.rs" required-features = ["cli"] [[bin]] name = "parquet-fromcsv" path = "src/bin/parquet-fromcsv.rs" required-features = [ "arrow", "cli", "snap", "brotli", "flate2", "lz4", "zstd", ] [[bin]] name = "parquet-index" path = "src/bin/parquet-index.rs" required-features = ["cli"] [[bin]] name = "parquet-layout" path = "src/bin/parquet-layout.rs" required-features = ["cli"] [[bin]] name = "parquet-read" path = "src/bin/parquet-read.rs" required-features = ["cli"] [[bin]] name = "parquet-rewrite" path = "src/bin/parquet-rewrite.rs" required-features = [ "arrow", "cli", ] [[bin]] name = "parquet-rowcount" path = "src/bin/parquet-rowcount.rs" required-features = ["cli"] [[bin]] name = "parquet-schema" path = "src/bin/parquet-schema.rs" required-features = ["cli"] [[bin]] name = "parquet-show-bloom-filter" path = "src/bin/parquet-show-bloom-filter.rs" required-features = ["cli"] [[example]] name = "async_read_parquet" path = "examples/async_read_parquet.rs" required-features = [ "arrow", "async", ] [[example]] name = "external_metadata" path = "examples/external_metadata.rs" required-features = [ "arrow", "async", ] [[example]] name = "read_parquet" path = "examples/read_parquet.rs" required-features = ["arrow"] [[example]] name = "read_with_rowgroup" path = "examples/read_with_rowgroup.rs" required-features = [ "arrow", "async", ] [[example]] name = "write_parquet" path = "examples/write_parquet.rs" required-features = [ "cli", "sysinfo", ] [[test]] name = "arrow_reader" path = "tests/arrow_reader/mod.rs" required-features = ["arrow"] [[test]] name = "arrow_writer_layout" path = "tests/arrow_writer_layout.rs" required-features = ["arrow"] [[bench]] name = "arrow_reader" path = "benches/arrow_reader.rs" harness = false required-features = [ "arrow", "test_common", "experimental", ] [[bench]] name = "arrow_statistics" path = "benches/arrow_statistics.rs" harness = false required-features = ["arrow"] [[bench]] name = "arrow_writer" path = "benches/arrow_writer.rs" harness = false required-features = ["arrow"] [[bench]] name = "compression" path = "benches/compression.rs" harness = false required-features = [ "experimental", "default", ] [[bench]] name = "encoding" path = "benches/encoding.rs" harness = false required-features = [ "experimental", "default", ] [[bench]] name = "metadata" path = "benches/metadata.rs" harness = false [dependencies.arrow-array] version = "53.2.0" optional = true [dependencies.arrow-buffer] version = "53.2.0" optional = true [dependencies.arrow-cast] version = "53.2.0" optional = true [dependencies.arrow-csv] version = "53.2.0" optional = true [dependencies.arrow-data] version = "53.2.0" optional = true [dependencies.arrow-ipc] version = "53.2.0" optional = true [dependencies.arrow-schema] version = "53.2.0" optional = true [dependencies.arrow-select] version = "53.2.0" optional = true [dependencies.base64] version = "0.22" features = ["std"] optional = true default-features = false [dependencies.brotli] version = "7.0" features = ["std"] optional = true default-features = false [dependencies.bytes] version = "1.1" features = ["std"] default-features = false [dependencies.chrono] version = "0.4.34" features = ["clock"] default-features = false [dependencies.clap] version = "4.1" features = [ "std", "derive", "env", "help", "error-context", "usage", ] optional = true default-features = false [dependencies.crc32fast] version = "1.4.2" optional = true default-features = false [dependencies.flate2] version = "1.0" features = ["rust_backend"] optional = true default-features = false [dependencies.futures] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.half] version = "2.1" features = ["num-traits"] default-features = false [dependencies.hashbrown] version = "0.14" default-features = false [dependencies.lz4_flex] version = "0.11" features = [ "std", "frame", ] optional = true default-features = false [dependencies.num] version = "0.4" default-features = false [dependencies.num-bigint] version = "0.4" default-features = false [dependencies.object_store] version = "0.11.0" optional = true default-features = false [dependencies.paste] version = "1.0" [dependencies.seq-macro] version = "0.3" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["std"] optional = true default-features = false [dependencies.snap] version = "1.0" optional = true default-features = false [dependencies.sysinfo] version = "0.32.0" features = ["system"] optional = true default-features = false [dependencies.thrift] version = "0.17" default-features = false [dependencies.tokio] version = "1.0" features = [ "macros", "rt", "io-util", ] optional = true default-features = false [dependencies.twox-hash] version = "1.6" default-features = false [dependencies.zstd] version = "0.13" optional = true default-features = false [dev-dependencies.arrow] version = "53.2.0" features = [ "ipc", "test_utils", "prettyprint", "json", ] default-features = false [dev-dependencies.base64] version = "0.22" features = ["std"] default-features = false [dev-dependencies.brotli] version = "7.0" features = ["std"] default-features = false [dev-dependencies.criterion] version = "0.5" default-features = false [dev-dependencies.flate2] version = "1.0" features = ["rust_backend"] default-features = false [dev-dependencies.lz4_flex] version = "0.11" features = [ "std", "frame", ] default-features = false [dev-dependencies.object_store] version = "0.11.0" features = ["azure"] default-features = false [dev-dependencies.rand] version = "0.8" features = [ "std", "std_rng", ] default-features = false [dev-dependencies.serde_json] version = "1.0" features = ["std"] default-features = false [dev-dependencies.snap] version = "1.0" default-features = false [dev-dependencies.tempfile] version = "3.0" default-features = false [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt", "io-util", "fs", ] default-features = false [dev-dependencies.zstd] version = "0.13" default-features = false [features] arrow = [ "base64", "arrow-array", "arrow-buffer", "arrow-cast", "arrow-data", "arrow-schema", "arrow-select", "arrow-ipc", ] async = [ "futures", "tokio", ] cli = [ "json", "base64", "clap", "arrow-csv", "serde", ] crc = ["dep:crc32fast"] default = [ "arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64", ] experimental = [] json = [ "serde_json", "base64", ] lz4 = ["lz4_flex"] object_store = [ "dep:object_store", "async", ] sysinfo = ["dep:sysinfo"] test_common = ["arrow/test_utils"] zstd = [ "dep:zstd", "zstd-sys", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.ahash] version = "0.8" features = ["runtime-rng"] default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.ahash] version = "0.8" features = ["compile-time-rng"] default-features = false [target.'cfg(target_family = "wasm")'.dependencies.zstd-sys] version = ">=2.0.0, <2.0.14" optional = true default-features = false [target.'cfg(target_family = "wasm")'.dev-dependencies.zstd-sys] version = ">=2.0.0, <2.0.14" default-features = false