# 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"
name = "arrow-avro"
version = "54.2.0"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
build = false
include = [
    "benches/*.rs",
    "src/**/*.rs",
    "Cargo.toml",
]
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 = false
keywords = ["arrow"]
license = "Apache-2.0"
repository = "https://github.com/apache/arrow-rs"

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

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

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

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

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

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

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

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

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

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

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

[features]
default = [
    "deflate",
    "snappy",
    "zstd",
]
deflate = ["flate2"]
snappy = [
    "snap",
    "crc",
]
