rust-apache-avro 0.22.0-1
Package Information
| Description | Apache Avro serialization and schema handling Apache Avro is a data serialization format that combines compact binary encoding with schemas describing the structure of records and other values. Writer and reader schemas can differ, allowing compatible changes to stored data and applications over time. This Rust library parses Avro schemas, reads and writes object container files and individual values, and integrates with Serde for serialization and deserialization of Rust data types. Optional features add compression codecs and schema derivation for Rust structs and enums. |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Steffen Moeller <moeller@debian.org> |
| Sponsor | moeller@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/apache-avro] (browse) |
| Closes | #1152659 |
| Tracker | https://tracker.debian.org/pkg/rust-apache-avro |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Version | 0.22.0-1 |
|---|---|
| Changed-By | Steffen Moeller <moeller@debian.org> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Sun, 01 Nov 2026 01:28:14 +0100 |
| Source | rust-apache-avro |
Changelog
rust-apache-avro (0.22.0-1) unstable; urgency=medium
.
* Initial release (Closes: #1152659).
* Fix derive-dependent test and documentation setup in default and
codec-only builds; require derive for the single-object example.
* Complete the package description and copyright information.
* Omit non-Debian target dependencies and performance-only benchmarks.
* Package apache-avro 0.22.0 from crates.io using debcargo 2.8.4.dsc
| Package-List | librust-apache-avro-dev deb rust optional arch=any |
|---|---|
| Section | rust |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: apache-avro Source: https://github.com/apache/avro-rs Files: * Copyright: 2010-2025 The Apache Software Foundation License: Apache-2.0 Comment: Copyright and original implementation credit are recorded in NOTICE. The initial Rust implementation was developed by Flavien Raynaud and donated to the Apache Avro project in 2020. Files: tests/avro-rs-226.rs src/serde/derive.rs src/serde/mod.rs src/serde/with.rs Copyright: 2010-2025 The Apache Software Foundation 2026 Steffen Moeller <moeller@debian.org> License: Apache-2.0 Comment: Debian adaptations in feature-independent-tests.patch make the derive macro available to tests and documentation independently of the optional public derive re-export. The upstream ASF attribution is retained. Files: debian/* Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> 2026 Steffen Moeller <moeller@debian.org> License: Apache-2.0 License: Apache-2.0 On Debian systems the full license text is available in /usr/share/common-licenses/Apache-2.0.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 3 hours ago.
Report
DFSG NEW review for rust-apache-avro version 0.22.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 2 found
Licensing
debian/copyright is in DEP-5 format and is accurate for the whole tree. Files: * names The Apache Software Foundation and Apache-2.0, which matches LICENSE (the full Apache-2.0 text) and NOTICE (ASF, plus the original Apache Avro Rust author, who is also credited in the copyright comment); a later stanza covers exactly the four files the Debian patches modify and adds Steffen Moeller's copyright for them, and debian/* has its own stanza. Every Rust source, README.md and Cargo.toml.orig carry the ASF licence header, the licence is in /usr/share/common-licenses, no other licence or holder appears anywhere in the tree, and there are no non-free terms. No file lacks a licence or a preferred form for modification.
Packaging
Clean debcargo-generated package: debhelper compat 13 with dh-sequence-cargo and a one-line rules, 3.0 (quilt) with three patches that carry DEP-3 headers, match README.source and are limited to test/documentation and benchmark-target changes. The Build-Depends/Build-Depends-Arch split with <!nocheck> matches what dh-cargo actually compiles, every crate in Depends and Build-Depends-Arch is provided by the archive, Provides covers exactly the crate's five features plus default, autopkgtests cover default, each codec, derive and no-feature builds, and Standards-Version 4.7.4 is current against Policy 4.7.4.1.
Issues
None.
Verified
- Prescan binary file
tests/bigdec.avro: Avro object-container test data (189 bytes), opened by the unit test insrc/bigdecimal.rs:274(File::open("./tests/bigdec.avro")). Data, not a built file: no generator source is needed to modify it, and it is covered by theFiles: *Apache-2.0 stanza. - Prescan binary file
benches/quickstop-null.avro: Avro object-container data (162 KB);benches/serde.rs:442-444records that it was pulled fromhttps://github.com/linkedin/goavro/blob/master/fixtures/quickstop-null.avro. The benchmarks are not built at all (omit-benchmarks.patchremoves both[[bench]]targets and the criterion dev-dependency,autobenches = falseis set), and the file is data, so it raises no DFSG or preferred-form question; it is covered byFiles: *. - Licence sweep of the non-debian tree: the ASF header ("Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements ... See the NOTICE file") is at the top of every Rust source,
README.mdandCargo.toml.orig(86 files matched);LICENSEis the unabridged Apache-2.0 text andNOTICEnames the ASF and the original author, whichdebian/copyright:9-12repeats. No MIT/BSD/GPL/MPL/CC or non-commercial wording occurs anywhere insrc/,tests/,benches/,examples/,README.mdorCargo.lock. debian/copyright's second stanza (tests/avro-rs-226.rs src/serde/derive.rs src/serde/mod.rs src/serde/with.rs) matches exactly the non-manifest files the three patches touch: the patch hunks coverCargo.toml,Cargo.toml.orig,tests/avro-rs-226.rsand those threesrc/serde/*.rsfiles and nothing else, and the manifest changes are deletions plus onerequired-featuresline.debian/copyright.debcargo.hintis debcargo's unedited template (FIXME (overlay) UNKNOWN-AUTHORS,UNKNOWN-LICENSE; FIXME (overlay)); it is the generator's input, is not installed into the binary package, anddebian/copyrightitself is complete and correct DEP-5.- Dependencies resolved against the archive with apt-cache: bigdecimal 0.4, bon 3.10.2, bzip2 0.6.1, digest 0.11.3, liblzma 0.4.9, md-5 0.11.0, miniz-oxide 0.9.1, ouroboros 0.18.5, rand 0.10.3, regex-lite 0.1.9, rstest 0.26.1, serde 1.0.229, serde-bytes 0.11.19, sha2 0.11.1, strum 0.28.0, zstd 0.13.3 — all present and satisfying the versions in
debian/control. - Build model checked against
/usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm:sub testruns plaincargo buildwith no feature flags, soBuild-Depends-Archcorrectly omits the optional crates (bzip2, crc32fast, liblzma, snap, zstd, apache-avro-derive) thatDependslists because a dependent enabling those features needs them;<!nocheck>on those build dependencies matches dh skipping the compile check undernocheckat compat 13. - Patch soundness: the only in-tree uses of a bare
#[derive(AvroSchema)]are the doctests insrc/serde/derive.rs,src/serde/mod.rsandsrc/serde/with.rs(ten inwith.rs); all of them now pairuse apache_avro::serde::AvroSchema;(the trait, exported unconditionally atsrc/serde/mod.rs:121) withuse apache_avro_derive::AvroSchema;(the macro, a dev-dependency), andexamples/specific_single_object.rsis the only target needing the feature, which the patch marksrequired-features = ["derive"]. - Prescan author check reported no holder missing from
debian/copyright; the three holders it declares (ASF, Debian Rust Maintainers, Steffen Moeller) are the ones the tree and the packaging actually show. debian/tests/controlhas eight runs:--all-featuresand the default build unrestricted, and the six extra single-feature and--no-default-featuresruns markedArchitecture: !riscv64(read as deliberate run reduction: the all-features run already covers those features on every architecture).Standards-Version: 4.7.4against Policy 4.7.4.1 (tool: first two components match); changelog isunstable,0.22.0-1, initial release closing #1152659, with a correct date/trailer;Vcs-Git/Vcs-Browserpoint at debcargo-confsrc/apache-avro;Section: rust,Architecture: any,Multi-Arch: sameare as the Rust team does it.- uscan found the packaged version as the newest upstream release (upstream
0.22.0, packaged0.22.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed
librust-apache-avro-derive-0.22-dev(a hard Depends of the -dev package) andlibrust-apache-avro-test-helper-0.22-dev(in every autopkgtest Depends) exist neither in the package lists nor in the NEW queue snapshot of 2026-11-01T01:12Z; they should come from the companion source packages rust-apache-avro-derive and rust-apache-avro-test-helper. If those are not uploaded alongside, the package is uninstallable and its autopkgtests cannot start. The NEW snapshot predates this changelog (01:28), so this is a question for the uploader rather than a finding.- The licence of linkedin/goavro, from whose fixtures
benches/quickstop-null.avrowas taken, could not be checked (no network); the file is serialized data, not code.
Proposed changes
None.
Uploader's response to the LLM review
The uploader was emailed about the review 3 hours ago.