| # 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 = "datafusion-benchmarks" |
| description = "DataFusion Benchmarks" |
| version = { workspace = true } |
| edition = { workspace = true } |
| authors = { workspace = true } |
| homepage = { workspace = true } |
| repository = { workspace = true } |
| license = { workspace = true } |
| rust-version = { workspace = true } |
| |
| # Note: add additional linter rules in lib.rs. |
| # Rust does not support workspace + new linter rules in subcrates yet |
| # https://github.com/rust-lang/cargo/issues/13157 |
| [lints] |
| workspace = true |
| |
| [features] |
| ci = [] |
| default = ["mimalloc"] |
| snmalloc = ["snmalloc-rs"] |
| mimalloc_extended = ["libmimalloc-sys/extended"] |
| |
| [dependencies] |
| arrow = { workspace = true } |
| clap = { version = "4.5.53", features = ["derive"] } |
| datafusion = { workspace = true, default-features = true } |
| datafusion-common = { workspace = true, default-features = true } |
| env_logger = { workspace = true } |
| futures = { workspace = true } |
| libmimalloc-sys = { version = "0.1", optional = true } |
| log = { workspace = true } |
| mimalloc = { version = "0.1", optional = true, default-features = false } |
| object_store = { workspace = true } |
| parquet = { workspace = true, default-features = true } |
| rand = { workspace = true } |
| regex.workspace = true |
| serde = { version = "1.0.228", features = ["derive"] } |
| serde_json = { workspace = true } |
| snmalloc-rs = { version = "0.3", optional = true } |
| tokio = { workspace = true, features = ["rt-multi-thread", "parking_lot"] } |
| tokio-util = { version = "0.7.17" } |
| |
| [dev-dependencies] |
| datafusion-proto = { workspace = true } |