[package]
edition = "2024"
rust-version = "1.88.0"
name = "apache-avro"
version = "0.22.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for working with Apache Avro in Rust"
documentation = "https://docs.rs/apache-avro"
readme = "README.md"
keywords = [
"avro",
"data",
"serialization",
]
categories = ["encoding"]
license = "Apache-2.0"
repository = "https://github.com/apache/avro-rs"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bzip = ["dep:bzip2"]
derive = ["dep:apache-avro-derive"]
snappy = [
"dep:crc32fast",
"dep:snap",
]
xz = ["dep:liblzma"]
zstandard = ["dep:zstd"]
[lib]
name = "apache_avro"
path = "src/lib.rs"
bench = false
[[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"
[[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 = "avro-rs-285-bytes_deserialization"
path = "tests/avro-rs-285-bytes_deserialization.rs"
[[test]]
name = "avro-rs-547"
path = "tests/avro-rs-547.rs"
[[test]]
name = "avro_schema_component"
path = "tests/avro_schema_component.rs"
[[test]]
name = "big_decimal"
path = "tests/big_decimal.rs"
[[test]]
name = "codecs"
path = "tests/codecs.rs"
[[test]]
name = "decompression_bomb"
path = "tests/decompression_bomb.rs"
[[test]]
name = "get_record_fields"
path = "tests/get_record_fields.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[test]]
name = "serde_human_readable_false"
path = "tests/serde_human_readable_false.rs"
[[test]]
name = "serde_human_readable_true"
path = "tests/serde_human_readable_true.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"
[[bench]]
name = "serde"
path = "benches/serde.rs"
harness = false
[[bench]]
name = "single"
path = "benches/single.rs"
harness = false
[dependencies.apache-avro-derive]
version = "0.22.0"
optional = true
default-features = false
[dependencies.bigdecimal]
version = "0.4.10"
features = [
"std",
"serde",
]
default-features = false
[dependencies.bon]
version = "3.9.1"
default-features = false
[dependencies.bzip2]
version = "0.6.1"
optional = true
[dependencies.crc32fast]
version = "1.5.0"
optional = true
default-features = false
[dependencies.digest]
version = "0.11.3"
features = ["block-api"]
default-features = false
[dependencies.liblzma]
version = "0.4.6"
optional = true
default-features = false
[dependencies.log]
version = "0.4.32"
default-features = false
[dependencies.miniz_oxide]
version = "0.9.1"
features = ["with-alloc"]
default-features = false
[dependencies.num-bigint]
version = "0.4.8"
features = [
"std",
"serde",
]
default-features = false
[dependencies.ouroboros]
version = "0.18.5"
features = ["std"]
default-features = false
[dependencies.regex-lite]
version = "0.1.9"
features = [
"std",
"string",
]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = [
"std",
"derive",
]
default-features = false
[dependencies.serde_bytes]
version = "0.11.19"
features = ["std"]
default-features = false
[dependencies.serde_json]
version = "1.0.150"
features = ["std"]
default-features = false
[dependencies.snap]
version = "1.1.1"
optional = true
default-features = false
[dependencies.strum]
version = "0.28.0"
features = ["derive"]
default-features = false
[dependencies.thiserror]
version = "2.0.18"
default-features = false
[dependencies.uuid]
version = "1.23.3"
features = [
"serde",
"std",
]
default-features = false
[dependencies.zstd]
version = "0.13.3"
optional = true
default-features = false
[dev-dependencies.apache-avro-derive]
version = "0.22.0"
default-features = false
[dev-dependencies.apache-avro-test-helper]
version = "0.22.0"
default-features = false
[dev-dependencies.criterion]
version = "0.8.2"
default-features = false
[dev-dependencies.hex-literal]
version = "1.1.0"
default-features = false
[dev-dependencies.md-5]
version = "0.11.0"
default-features = false
[dev-dependencies.paste]
version = "1.0.15"
default-features = false
[dev-dependencies.pretty_assertions]
version = "1.4.1"
features = ["std"]
default-features = false
[dev-dependencies.rstest]
version = "0.26.1"
default-features = false
[dev-dependencies.sha2]
version = "0.11.0"
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.10.1"
features = ["default"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.quad-rand]
version = "0.2.3"
default-features = false
[lints.clippy]
doc_markdown = "warn"
enum_glob_use = "warn"
manual_assert = "warn"
missing_panics_doc = "warn"
multiple_crate_versions = "allow"
needless_pass_by_value = "warn"
needless_raw_string_hashes = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
too_long_first_doc_paragraph = "warn"
uninlined_format_args = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(nightly)"]