Review: rust-derivre 0.3.12-3
Package Information
| Description | Derivative-based regular expression engine - Rust source code Source code for Debianized Rust crate "derivre" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Colin Watson <cjwatson@debian.org> |
| Sponsor | cjwatson@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/derivre] (browse) |
| Closes | #1149034 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/rust-derivre |
| Uploaded | 26 days ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Date | Sat, 26 Sep 2026 21:30:43 +0000 |
| Source | rust-derivre |
| Version | 0.3.12-3 |
| Changed-By | Colin Watson <cjwatson@debian.org> |
| Architecture | amd64 source |
Changelog
rust-derivre (0.3.12-3) unstable; urgency=medium
.
* Team upload.
* Package derivre 0.3.12 from crates.io using debcargo 2.8.4
* Stop building derivre binary package, since it's just a test binary and
there's no point shipping it (closes: #1149034)..dsc
| Component | main |
|---|---|
| Package-List | librust-derivre-dev deb rust optional arch=any |
| Section | rust |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: derivre
Upstream-Contact: Michal Moskal <michal@moskal.me>
Source: https://github.com/microsoft/derivre
Files: *
Copyright: 2021-2026, Michal Moskal <michal@moskal.me>
2021-2026, Microsoft Corporation
License: MIT
Files: debian/*
Copyright:
2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
2026 Mo Zhou <lumin@debian.org>
License: MIT
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.
Review Information
accepted — allocated to awm 21 days ago, started 21 days ago, completed 21 days ago.
Final Comment
Hi,
Some packaging-quality issues. I suspect you already know these though...
Major downgrade of hashbrown (0.17.1 → 0.14.5).
Cargo.toml.orig:20 requires 0.17.1, but debian/patches/relax-version.patch rewrites it to 0.14.5 (two major versions older) purely because Debian only has 0.14 (control:18,37). The crate uses hashbrown::hash_table::Entry/HashTable (src/hashcons.rs:1,4), which still exist in 0.14 so it compiles, but this silently changes the hash-table implementation upstream pinned — worth flagging for review rather than accepting blindly.
Test-only dev-dependencies missing from Build-Depends-Arch.
The crate's test targets (tests/basic.rs, fowler.rs, etc.) depend on bstr, serde, toml (Cargo.toml:86-99), but none of these appear in control Build-Depends. They're only listed in debian/tests/control for autopkgtest. Since debian/rules is a plain dh $@ --buildsystem cargo with no nocheck, the build-time test run cannot build these targets — a likely FTBFS unless tests are intentionally skipped. (Worth verifying against CI.)
Thanks!
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 0.3.12-1 | ee6306bc… | 2026-07-28 19:13 | 2026-07-28 19:14 | mechtilde | accepted | VIEW |