| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| [package] |
| name = "parquet" |
| version = "5.0.0-SNAPSHOT" |
| license = "Apache-2.0" |
| description = "Apache Parquet implementation in Rust" |
| homepage = "https://github.com/apache/arrow-rs" |
| repository = "https://github.com/apache/arrow-rs" |
| authors = ["Apache Arrow <dev@arrow.apache.org>"] |
| keywords = [ "arrow", "parquet", "hadoop" ] |
| readme = "README.md" |
| build = "build.rs" |
| edition = "2018" |
| |
| [dependencies] |
| # update note: pin `parquet-format` to specific version until it does not break at minor |
| # version, see ARROW-11187. |
| parquet-format = "~2.6.1" |
| byteorder = "1" |
| thrift = "0.13" |
| snap = { version = "1.0", optional = true } |
| brotli = { version = "3.3", optional = true } |
| flate2 = { version = "1.0", optional = true } |
| lz4 = { version = "1.23", optional = true } |
| zstd = { version = "0.8", optional = true } |
| chrono = "0.4" |
| num-bigint = "0.4" |
| arrow = { path = "../arrow", version = "5.0.0-SNAPSHOT", optional = true } |
| base64 = { version = "0.13", optional = true } |
| clap = { version = "2.33.3", optional = true } |
| serde_json = { version = "1.0", features = ["preserve_order"], optional = true } |
| rand = "0.8" |
| |
| [dev-dependencies] |
| criterion = "0.3" |
| rand = "0.8" |
| snap = "1.0" |
| brotli = "3.3" |
| flate2 = "1.0" |
| lz4 = "1.23" |
| zstd = "0.8" |
| arrow = { path = "../arrow", version = "5.0.0-SNAPSHOT" } |
| serde_json = { version = "1.0", features = ["preserve_order"] } |
| |
| [features] |
| default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64"] |
| cli = ["serde_json", "base64", "clap"] |
| |
| [[ bin ]] |
| name = "parquet-read" |
| required-features = ["cli"] |
| |
| [[ bin ]] |
| name = "parquet-schema" |
| required-features = ["cli"] |
| |
| [[ bin ]] |
| name = "parquet-rowcount" |
| required-features = ["cli"] |
| |
| [[bench]] |
| name = "arrow_writer" |
| harness = false |
| |
| [[bench]] |
| name = "arrow_array_reader" |
| harness = false |