DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-simd-cpu 0.1.0+ds-1

Package Information

DescriptionSIMD features of the running CPU as a token for SIMD codecs - Rust source code

simd-cpu enables SIMD features of the running CPU as a token for SIMD codecs, no_std and dependency-free

Features: * One token for every codec: the application installs it once in main, every SIMD codec reads it. * Sound by construction: a token names only features the running CPU has. * Features, not backends: each codec picks its own backend from the features. * Portable: no_std, no dependency, no allocation; detection behind the `std` feature.

This package contains the source for the Rust crate simd-cpu, for use with cargo.

MaintainerJonas Smedegaard <dr@jones.dk>
Changed ByJonas Smedegaard <dr@jones.dk>
Sponsorjs@debian.org
Distributionexperimental
Architectureall
VCSgit: https://salsa.debian.org/debian/rust-simd-cpu.git (browse)
Closes#1155505
Trackerhttps://tracker.debian.org/pkg/rust-simd-cpu
Uploaded4 hours ago

New Package Report

.changes◂
Changed-ByJonas Smedegaard <dr@jones.dk>
Architecturesource all
Distributionexperimental
DateFri, 27 Nov 2026 01:26:24 +0100
Sourcerust-simd-cpu
Version0.1.0+ds-1
Changelog◂
rust-simd-cpu (0.1.0+ds-1) experimental; urgency=low
 .
   * initial release;
     closes: bug#1155505
.dsc◂
Componentmain
Package-Listlibrust-simd-cpu-dev deb rust optional arch=all
Sectionrust
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: simd-cpu
Upstream-Contact: https://github.com/pimalaya/simd-cpu/issues
Source: https://github.com/pimalaya/simd-cpu
 .
 Repackaged, excluding any .git* files.
Files-Excluded:
 */.git*

Files: *
Copyright:
  2026  Clément DOUIN (soywod) <pimalaya.org@posteo.net>
License-Grant:
 This project is licensed under either of:
 .
 - [MIT license](LICENSE-MIT)
 - [Apache License, Version 2.0](LICENSE-APACHE)
License: Apache-2.0 or Expat
Reference:
 Cargo.toml
 LICENSE-APACHE
 LICENSE-MIT
 README.md

Files:
 debian/*
Copyright:
  2026  Jonas Smedegaard <dr@jones.dk>
License-Grant:
 This packaging is free software;
 you can redistribute it and/or modify it
 under the terms of the GNU General Public License
 as published by the Free Software Foundation;
 either version 3,
 or (at your option) any later version.
License: GPL-3+
Reference: debian/copyright

Files:
 debian/patches/*
Copyright:
  Jonas Smedegaard <dr@jones.dk>
License: Apache-2.0 or Expat
Reference:
 Cargo.toml
 LICENSE-APACHE
 LICENSE-MIT
 README.md
Comment:
 Patches commonly lack explicit copyright and license.
 For the cases where patches are copyrightable at all,
 copyright is assumed to be held by the author,
 and license is assumed to be the same as main upstream license.

License: Apache-2.0
Reference: /usr/share/common-licenses/Apache-2.0

License: Expat
 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.

License: GPL-3+
Reference: /usr/share/common-licenses/GPL-3

DFSG Assistant LLM REVIEW 1 blocker, 1 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 2 hours ago.

Report◂

DFSG NEW review for rust-simd-cpu version 0.1.0+ds-1

Summary

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

Licensing

The terms themselves are DFSG-free (MIT/Apache-2.0 dual-licensed crate, GPL-3+ packaging), and the MIT and Apache-2.0 texts are present. But debian/copyright is incomplete: it names only Clément DOUIN, while the package's own ATTRIBUTION.md credits Hans Kratz's simdutf8 for material in src/lib.rs, which librust-simd-cpu-dev ships. The file is also not valid copyright-format 1.0: every stanza uses the undefined fields License-Grant and Reference, and the resulting lintian tags are silenced with overrides.

Packaging

The packaging is small and sound: compat 14 with a bare dh $@, only the dh-rust and debhelper sequences, correct librust--dev Provides, four autopkgtest stanzas, Vcs- fields, Standards-Version 4.7.4, a 3.0 (quilt) source format, and a clean initial changelog. The build-dependency names exist in the archive; the trailing comma on Build-Depends is dropped by Dpkg::Deps and is harmless.

Issues

blocker licensing 1. Files: * does not name Hans Kratz, holder of the simdutf8 material credited in ATTRIBUTION.md ◂
  • Files: debian/copyright:10-23, ATTRIBUTION.md:3-7, src/lib.rs:68-79, src/lib.rs:257-267
  • Basis: inferred from what was read, not seen directly
  • Evidence: ATTRIBUTION.md: ## simdutf8 0.1.5 / Hans Kratz <hans@appfour.com>, MIT OR Apache-2.0, https://github.com/rusticstuff/simdutf8 / - [src/lib.rs](src/lib.rs): the features the build target guarantees read from cfg(target_feature) when nothing is detected, from src/implementation/x86/mod.rs.; debian/copyright Files: * gives only 2026 Clément DOUIN (soywod) <pimalaya.org@posteo.net>.
  • Problem: Upstream's own attribution file states that src/lib.rs carries material from simdutf8 0.1.5 and names its author and licence, but debian/copyright does not mention him. src/lib.rs is the crate source installed by librust-simd-cpu-dev (and compiled by every consumer), so it is shipped in the binary package; under Debian Policy 2.3 the copyright notices of compiled/shipped files must be copied into the copyright file when the licence requires it, and the MIT option of MIT OR Apache-2.0 does. The prescan's loose author match found no Copyright line in ATTRIBUTION.md and so missed it. I could not compare src/lib.rs with simdutf8's src/implementation/x86/mod.rs (not available without network), so the extent of the derived material is not independently verified.
  • Fix: Add Hans Kratz hans@appfour.com (simdutf8 0.1.5) to the Copyright field of the stanza covering src/lib.rs, stating the same MIT/Apache-2.0 terms and pointing at ATTRIBUTION.md.
important licensing 2. debian/copyright uses the non-standard fields License-Grant and Reference, with the resulting lintian tags suppressed ◂
  • Files: debian/copyright:13-19, debian/copyright:29-37, debian/copyright:44, debian/copyright:55-56, debian/copyright:84-85, debian/source/lintian-overrides:1-5
  • Basis: checked, in the package or with a reference tool
  • Evidence: License-Grant: at debian/copyright:13, 29, 43; Reference: at :19, :37, :44, :56, :85, e.g. License: Apache-2.0 followed only by Reference: /usr/share/common-licenses/Apache-2.0; debian/source/lintian-overrides: missing-license-paragraph-in-dep5-copyright apache-2\.0 *, missing-license-text-in-dep5-copyright Apache-2\.0 * (and the same for GPL-3+).
  • Problem: copyright-format 1.0 permits only Files, Copyright, License and Comment in a Files stanza (5.2) and only License and Comment in a stand-alone License stanza (5.3); License-Grant and Reference are not fields of the format and no DEP-5 parser understands them. As written, the stand-alone License: Apache-2.0 and License: GPL-3+ stanzas have no body in the License field, which 6.7 requires to carry the full text or the /usr/share/common-licenses pointer. The real lintian tags are suppressed in debian/source/lintian-overrides instead of being fixed.
  • Fix: Move the prose to Comment: (or drop it), put the /usr/share/common-licenses/... pointer into the body of the License: stanza itself, and remove the four overrides from debian/source/lintian-overrides.
Verified ◂
  • Read debian/{control,rules,changelog,copyright,copyright_hints,copyright-check,gbp.conf,source/format,source/lintian-overrides,tests/control,upstream/metadata} in full.
  • Grepped the whole upstream tree (gitignore: false) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, permission notices and All rights reserved: the only notices are LICENSE-MIT/LICENSE-APACHE, README.md, Cargo.toml (license = "MIT OR Apache-2.0") and ATTRIBUTION.md; no non-free terms.
  • Read AGENTS.md, CLAUDE.md, ATTRIBUTION.md, CHANGELOG.md, SECURITY.md, Cargo.toml, Cargo.lock, deny.toml, flake.nix, flake.lock, default.nix, shell.nix, package.nix, src/lib.rs and the cairn/ tree; flake.lock only pins external flake inputs (no code copied), and the nix files are the author's own packaging of the crate.
  • cairn/verify.sh is marked Vendored from github.com/pimalaya/cairn, the same project and holder as the crate, and is covered by Files: *.
  • debian/copyright_hints is autogenerated licensecheck --deb-machine output kept for review; its Copyright: NONE / License: UNKNOWN lines are placeholders, it is covered by the debian/* stanza and is installed nowhere.
  • debian/ has no patches directory; the Files: debian/patches/* stanza matches nothing (harmless).
  • apt-cache: dh-sequence-rust is provided by dh-rust 0.1.4, dh-sequence-single-binary by debhelper 14.5, so both Build-Depends are satisfiable; the package's own librust-simd-cpu-dev is new.
  • The trailing comma at the end of Build-Depends is not a build failure: /usr/share/perl5/Dpkg/Deps.pm deps_parse splits on commas and Perl's split drops the trailing empty field, so dpkg-checkbuilddeps and dpkg-genbuildinfo parse the field.
  • Standards-Version 4.7.4 matches Policy 4.7.4.1 at the first two components; debian/tests/control is syntactically valid (unknown Features are ignored, Testsuite is added by dpkg-source); gbp.conf dist = DEP14 is gbp's documented special value.
  • Checked every file listed in the prescan (the author check reported no unmatched holders; ATTRIBUTION.md's holder has no Copyright line, which is why it was missed).
  • uscan found the packaged version as the newest upstream release (upstream 0.1.0, packaged 0.1.0+ds).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, GPL-3).
Not confirmed ◂
  • Could not compare src/lib.rs with simdutf8 0.1.5 src/implementation/x86/mod.rs, so how much of the file is derived from simdutf8 is unverified; the attribution in ATTRIBUTION.md is the evidence.
  • Could not build the package or run its tests, nor inspect dh-rust 0.1.4's installed files (not installed on the reviewing system) to confirm exactly which upstream files librust-simd-cpu-dev ships (assumed the crate source, including src/lib.rs and ATTRIBUTION.md).
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package