# 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-cast"
version = "59.0.0"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
build = false
include = [
    "benches/*.rs",
    "src/**/*.rs",
    "Cargo.toml",
    "LICENSE.txt",
    "NOTICE.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cast kernel and utilities for Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
readme = false
keywords = ["arrow"]
license = "Apache-2.0"
repository = "https://github.com/apache/arrow-rs"
resolver = "2"

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

[features]
force_validate = []
prettyprint = ["comfy-table"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.atoi]
version = "2.0.0"

[dependencies.base64]
version = "0.22"

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

[dependencies.comfy-table]
version = "7"
optional = true
default-features = false

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

[dependencies.lexical-core]
version = "1.0"
features = [
    "write-integers",
    "write-floats",
    "parse-integers",
    "parse-floats",
]
default-features = false

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

[dependencies.ryu]
version = "1.0.16"

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

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

[dev-dependencies.insta]
version = "1.46.3"
default-features = false

[dev-dependencies.rand]
version = "0.9"
