# 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-avro"
version = "58.3.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 = "Support for parsing Avro format into the Arrow format"
homepage = "https://github.com/apache/arrow-rs"
readme = "README.md"
keywords = ["arrow"]
license = "Apache-2.0"
repository = "https://github.com/apache/arrow-rs"
resolver = "2"

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

[features]
async = [
    "futures",
    "tokio",
]
avro_custom_types = ["dep:arrow-select"]
canonical_extension_types = ["arrow-schema/canonical_extension_types"]
default = [
    "deflate",
    "snappy",
    "zstd",
    "bzip2",
    "xz",
]
deflate = ["flate2"]
md5 = ["dep:md5"]
object_store = [
    "dep:object_store",
    "async",
]
sha256 = ["dep:sha2"]
small_decimals = []
snappy = [
    "snap",
    "crc",
]

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

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

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

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

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

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

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

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

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

[dependencies.arrow-select]
version = "58.3.0"
optional = true

[dependencies.bytes]
version = "1.11.0"
features = ["std"]
default-features = false

[dependencies.bzip2]
version = "0.6.0"
optional = true

[dependencies.crc]
version = "3.0"
optional = true

[dependencies.flate2]
version = "1.0"
features = ["rust_backend"]
optional = true
default-features = false

[dependencies.futures]
version = "0.3"
features = ["std"]
optional = true
default-features = false

[dependencies.indexmap]
version = "2.10"

[dependencies.md5]
version = "0.8"
optional = true

[dependencies.object_store]
version = "0.13.2"
optional = true
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.serde]
version = "1.0.188"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.sha2]
version = "0.11"
optional = true

[dependencies.snap]
version = "1.0"
optional = true
default-features = false

[dependencies.strum_macros]
version = "0.28"

[dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt",
    "io-util",
]
optional = true
default-features = false

[dependencies.uuid]
version = "1.17"

[dependencies.xz]
version = "0.4"
optional = true
default-features = false
package = "liblzma"

[dependencies.zstd]
version = "0.13"
optional = true
default-features = false

[dev-dependencies.apache-avro]
version = "0.21.0"

[dev-dependencies.arrow]
version = "58.3.0"
features = ["prettyprint"]
default-features = false

[dev-dependencies.arrow-data]
version = "58.3.0"

[dev-dependencies.async-stream]
version = "0.3.6"

[dev-dependencies.bytes]
version = "1.11.0"
features = ["std"]
default-features = false

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

[dev-dependencies.futures]
version = "0.3.31"

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

[dev-dependencies.num-bigint]
version = "0.4"

[dev-dependencies.object_store]
version = "0.13.2"
features = ["fs"]
default-features = false

[dev-dependencies.once_cell]
version = "1.21.3"

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

[dev-dependencies.tempfile]
version = "3.3"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "fs",
]
default-features = false
