apache-avro-derive 0.22.0

A library for deriving Avro schemata from Rust structs and enums
Documentation
# 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.88.0"
name = "apache-avro-derive"
version = "0.22.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for deriving Avro schemata from Rust structs and enums"
documentation = "https://docs.rs/apache-avro-derive"
readme = "README.md"
keywords = [
    "avro",
    "data",
    "serialization",
    "derive",
]
categories = ["encoding"]
license = "Apache-2.0"
repository = "https://github.com/apache/avro-rs"
resolver = "2"

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

[lib]
name = "apache_avro_derive"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

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

[dependencies.darling]
version = "0.23.0"
default-features = false

[dependencies.proc-macro2]
version = "1.0.106"
default-features = false

[dependencies.quote]
version = "1.0.45"
default-features = false

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

[dependencies.syn]
version = "2.0.117"
features = [
    "full",
    "fold",
]
default-features = false

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

[dev-dependencies.macrotest]
version = "1.2.1"
default-features = false

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

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

[dev-dependencies.rustversion]
version = "1.0.22"

[dev-dependencies.serde]
version = "1.0.228"
features = [
    "std",
    "derive",
]
default-features = false

[dev-dependencies.trybuild]
version = "1.0.116"

[build-dependencies.rustversion]
version = "1.0.22"

[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)"]