DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-bhttp 0.8.0-1

Package Information

DescriptionBinary HTTP messages (RFC 9292) - Rust source code

Source code for Debianized Rust crate "bhttp"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed Bykpcyrd <git@rxv.cc>
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/bhttp] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-bhttp
Uploaded2 hours ago

New Package Report

.changes◂
Architectureamd64 source
Distributionunstable
DateMon, 23 Nov 2026 04:25:08 +0000
Sourcerust-bhttp
Version0.8.0-1
Changed-Bykpcyrd <git@rxv.cc>
Changelog◂
rust-bhttp (0.8.0-1) unstable; urgency=medium
 .
   * Package bhttp 0.8.0 from crates.io using debcargo 2.8.4
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-bhttp-dev deb rust optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bhttp
Upstream-Contact: Martin Thomson <mt@lowentropy.net>
Source: https://github.com/martinthomson/ohttp

Files: *
Copyright: 2022-2026 Martin Thomson <mt@lowentropy.net>
License: MIT or Apache-2.0

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 kpcyrd <git@rxv.cc>
License: MIT or Apache-2.0

License: Apache-2.0
 Debian systems provide the Apache 2.0 license in
 /usr/share/common-licenses/Apache-2.0

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 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 1 hour ago.

Report◂

DFSG NEW review for rust-bhttp version 0.8.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5, and its single upstream stanza covers all 13 non-debian files. The crate declares MIT OR Apache-2.0 in Cargo.toml, both short names have License paragraphs (full MIT text, Apache-2.0 by pointer to /usr/share/common-licenses/Apache-2.0), which satisfies Policy 12.5. The prescan found no holder missing from debian/copyright, no non-free wording occurs anywhere in the tree, and there is no vendored third-party code.

Packaging

Generated by debcargo 2.8.4, and the generated files are consistent: compat 13 with dh-sequence-cargo, all dependency names exist in the archive, the <!nocheck> build dependencies are correct because dh-cargo's build step only copies sources, autopkgtests exercise all feature combinations with the needed dev-dependency, and Standards-Version 4.7.4 is current against Policy 4.7.4.1. The only fault is an undocumented patch that switches off upstream test modules without a DEP-3 header saying why.

Issues

minor packaging 1. disable-stream-tests.patch disables upstream stream tests without a DEP-3 header or stated reason ◂
  • Files: debian/patches/disable-stream-tests.patch, debian/patches/series
  • Basis: checked, in the package or with a reference tool
  • Evidence: The patch starts directly with --- a/src/stream/int.rs / +++ b/src/stream/int.rs (no Description/Origin/Forwarded fields) and makes three hunks of the form -#[cfg(test)] / +#[cfg(false)] in src/stream/int.rs, mod.rs and vec.rs.
  • Problem: The patch silently removes three entire test modules from the test build, leaving the dead code in the tree, and says nothing about why. The reason is only inferable from the code: those modules use sync_async::{...}, and sync-async is an upstream path-only dev-dependency that cargo drops from the published Cargo.toml, so the modules cannot compile in Debian. A reviewer, an uploader doing the next update or anyone later asking whether the patch is still needed cannot learn this from the patch. Policy does not mandate DEP-3, but an unexplained patch that disables tests is a maintainability fault a sponsor would flag.
  • Fix: Add a DEP-3 header, e.g. Description: Disable tests requiring the unpackaged sync-async crate explaining that the modules depend on the upstream path dev-dependency sync-async, and Forwarded: not-needed; optionally carry the removal of the test modules rather than #[cfg(false)] so no dead code is shipped.
Verified ◂
  • Inventory: 13 upstream files under the package root, .cargo_vcs_info.json, Cargo.lock, Cargo.toml, Cargo.toml.orig, README.md, src/{err,lib,parse,rw}.rs, src/stream/{int,mod,vec}.rs and tests/test.rs; the prescan's 13 files are these, all matched by Files: *.
  • No upstream file carries a Copyright, (C), ©, SPDX-License-Identifier or licence grant; the licence comes from Cargo.toml's license = "MIT OR Apache-2.0", which debian/copyright restates.
  • No LICENSE, COPYING or NOTICE file is present in the tarball (glob of the whole tree); not needed, because debian/copyright contains the full MIT text and points to /usr/share/common-licenses/Apache-2.0, as Policy 12.5 allows.
  • Prescan author check: every holder found is named in debian/copyright (Martin Thomson; the debian/* stanza names the Rust Maintainers and kpcyrd).
  • No non-free wording (non-commercial, no-derivatives, field-of-use, 'not Evil', all rights reserved) anywhere in the upstream tree.
  • Cargo.lock lists only registry crates with checksums and no vendored source (508 lines); .cargo_vcs_info.json only records commit 84f59d0 and path_in_vcs bhttp; neither adds a licence or holder.
  • Build-Depends-Arch entries marked <!nocheck> are correct here: /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm shows sub build only copies sources into a staging dir, and sub test is what runs cargo build; a nocheck build therefore never compiles the crate, so cargo, rustc, libstd-rust-dev and librust-thiserror-2+default-dev are needed only for the test step (and dh-cargo 34 itself Depends on cargo).
  • dev-dependency hex appears only in debian/tests/control, consistent with dh-cargo's test step running cargo build rather than cargo test.
  • Every relationship name in debian/control exists in the archive (apt-cache): librust-futures-dev 0.3.34-1 provides librust-futures+default-dev, librust-pin-project-dev 1.1.13-1, librust-thiserror-dev 2.0.21-1, librust-url-dev 2.5.8-1, librust-hex-dev 0.4.3-3+b1, dh-cargo 34 provides dh-sequence-cargo.
  • Standards-Version 4.7.4 is current: the policy tool reports Policy 4.7.4.1, whose first two components match.
  • debian/tests/control depends on dh-cargo >= 33, satisfied by dh-cargo 34; cargo-auto-test and the feature matrix (default, http, stream, no features, all features) are consistent with the crate's features in Cargo.toml.
  • debian/copyright.debcargo.hint still contains the debcargo FIXME/UNKNOWN-YEARS text, but it is only a hint input covered by Files: debian/*; the shipped debian/copyright has the years filled in.
  • Ignored .pc/ and debian/cargo-checksum.json throughout, as instructed.
  • uscan found the packaged version as the newest upstream release (upstream 0.8.0, packaged 0.8.0).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The copyright years 2022-2026 in debian/copyright come from debcargo's hint, which recorded UNKNOWN-YEARS; without upstream git history they cannot be checked here. Year drift is not itself reportable, and the holder is correct.
  • Whether the archive's rustc accepts #[cfg(false)] as a cfg predicate without an unexpected_cfgs warning: if it does not, the crate-level #![deny(warnings)] in src/lib.rs could turn that warning into an error for the --all-targets autopkgtest runs. An autopkgtest/build would show it; the maintainer's apparently passing overlay suggests it does not occur.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 1 hour ago.

Back to Dashboard | View all reviews for this package