# 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 = "arrow"
version = "48.0.1"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
include = [
    "benches/*.rs",
    "src/**/*.rs",
    "tests/*.rs",
    "Cargo.toml",
]
description = "Rust implementation of Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
readme = "README.md"
keywords = ["arrow"]
license = "Apache-2.0"
repository = "https://github.com/apache/arrow-rs"

[package.metadata.docs.rs]
features = [
    "prettyprint",
    "ipc_compression",
    "ffi",
    "pyarrow",
]

[lib]
name = "arrow"
path = "src/lib.rs"
bench = false

[[example]]
name = "dynamic_types"
path = "./examples/dynamic_types.rs"
required-features = ["prettyprint"]

[[example]]
name = "read_csv"
path = "./examples/read_csv.rs"
required-features = [
    "prettyprint",
    "csv",
]

[[example]]
name = "read_csv_infer_schema"
path = "./examples/read_csv_infer_schema.rs"
required-features = [
    "prettyprint",
    "csv",
]

[[test]]
name = "csv"
required-features = [
    "csv",
    "chrono-tz",
]

[[test]]
name = "pyarrow"
required-features = ["pyarrow"]

[[test]]
name = "array_cast"
required-features = [
    "chrono-tz",
    "prettyprint",
]

[[test]]
name = "timezone"
required-features = ["chrono-tz"]

[[test]]
name = "arithmetic"
required-features = ["chrono-tz"]

[[bench]]
name = "aggregate_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "array_from_vec"
harness = false

[[bench]]
name = "builder"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "buffer_bit_ops"
harness = false

[[bench]]
name = "boolean_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "boolean_append_packed"
harness = false

[[bench]]
name = "arithmetic_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "cast_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "comparison_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "filter_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "take_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "interleave_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "length_kernel"
harness = false

[[bench]]
name = "bit_length_kernel"
harness = false

[[bench]]
name = "sort_kernel"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "partition_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "csv_writer"
harness = false
required-features = ["csv"]

[[bench]]
name = "csv_reader"
harness = false
required-features = [
    "test_utils",
    "csv",
]

[[bench]]
name = "json_reader"
harness = false
required-features = [
    "test_utils",
    "json",
]

[[bench]]
name = "equal"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "array_slice"
harness = false

[[bench]]
name = "concatenate_kernel"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "mutable_array"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "buffer_create"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "string_dictionary_builder"
harness = false

[[bench]]
name = "string_run_builder"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "string_run_iterator"
harness = false

[[bench]]
name = "primitive_run_accessor"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "primitive_run_take"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "substring_kernels"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "array_data_validate"
harness = false

[[bench]]
name = "decimal_validate"
harness = false

[[bench]]
name = "row_format"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "bitwise_kernel"
harness = false
required-features = ["test_utils"]

[[bench]]
name = "lexsort"
harness = false
required-features = ["test_utils"]

[dependencies.arrow-arith]
version = "48.0.1"

[dependencies.arrow-array]
version = "48.0.1"

[dependencies.arrow-buffer]
version = "48.0.1"

[dependencies.arrow-cast]
version = "48.0.1"

[dependencies.arrow-csv]
version = "48.0.1"
optional = true

[dependencies.arrow-data]
version = "48.0.1"

[dependencies.arrow-ipc]
version = "48.0.1"
optional = true

[dependencies.arrow-json]
version = "48.0.1"
optional = true

[dependencies.arrow-ord]
version = "48.0.1"

[dependencies.arrow-row]
version = "48.0.1"

[dependencies.arrow-schema]
version = "48.0.1"

[dependencies.arrow-select]
version = "48.0.1"

[dependencies.arrow-string]
version = "48.0.1"

[dependencies.pyo3]
version = "0.20"
optional = true
default-features = false

[dependencies.rand]
version = "0.8"
features = [
    "std",
    "std_rng",
]
optional = true
default-features = false

[dev-dependencies.chrono]
version = "0.4.31"
features = ["clock"]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
default-features = false

[dev-dependencies.half]
version = "2.1"
default-features = false

[dev-dependencies.rand]
version = "0.8"
features = [
    "std",
    "std_rng",
]
default-features = false

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dev-dependencies.tempfile]
version = "3"
default-features = false

[build-dependencies]

[features]
chrono-tz = ["arrow-array/chrono-tz"]
csv = ["arrow-csv"]
default = [
    "csv",
    "ipc",
    "json",
]
ffi = [
    "arrow-schema/ffi",
    "arrow-data/ffi",
]
force_validate = ["arrow-data/force_validate"]
ipc = ["arrow-ipc"]
ipc_compression = [
    "ipc",
    "arrow-ipc/lz4",
    "arrow-ipc/zstd",
]
json = ["arrow-json"]
prettyprint = ["arrow-cast/prettyprint"]
pyarrow = [
    "pyo3",
    "ffi",
]
simd = [
    "arrow-array/simd",
    "arrow-arith/simd",
]
test_utils = ["rand"]

[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
