# 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 = "2024"
rust-version = "1.85"
name = "arrow-array"
version = "58.2.0"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
build = false
include = [
    "benches/*.rs",
    "src/**/*.rs",
    "Cargo.toml",
    "LICENSE.txt",
    "LICENSE-MIT",
    "NOTICE.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Array abstractions for Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
readme = false
keywords = ["arrow"]
license = "Apache-2.0 AND MIT"
repository = "https://github.com/apache/arrow-rs"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
async = ["dep:futures"]
ffi = [
    "arrow-schema/ffi",
    "arrow-data/ffi",
]
force_validate = []
pool = [
    "arrow-buffer/pool",
    "arrow-data/pool",
]

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

[[bench]]
name = "boolean_array"
path = "benches/boolean_array.rs"
harness = false

[[bench]]
name = "decimal_overflow"
path = "benches/decimal_overflow.rs"
harness = false

[[bench]]
name = "fixed_size_list_array"
path = "benches/fixed_size_list_array.rs"
harness = false

[[bench]]
name = "null_dict"
path = "benches/null_dict.rs"
harness = false

[[bench]]
name = "occupancy"
path = "benches/occupancy.rs"
harness = false

[[bench]]
name = "record_batch"
path = "benches/record_batch.rs"
harness = false

[[bench]]
name = "union_array"
path = "benches/union_array.rs"
harness = false

[[bench]]
name = "view_types"
path = "benches/view_types.rs"
harness = false

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

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

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

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

[dependencies.chrono-tz]
version = "0.10"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

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

[dependencies.hashbrown]
version = "0.17.0"
default-features = false

[dependencies.num-complex]
version = "0.4.6"
features = ["std"]
default-features = false

[dependencies.num-integer]
version = "0.1.46"
features = ["std"]
default-features = false

[dependencies.num-traits]
version = "0.2.19"
features = ["std"]
default-features = false

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

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

[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
