rust-parse-duration 2.1.1-1
Package Information
| Description | Parses a duration from a string - Rust source code Source code for Debianized Rust crate "parse_duration" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> |
| Sponsor | paulliu@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/parse-duration] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-parse-duration |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Distribution | unstable |
|---|---|
| Source | rust-parse-duration |
| Version | 2.1.1-1 |
| Changed-By | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> |
| Architecture | amd64 source |
Changelog
rust-parse-duration (2.1.1-1) unstable; urgency=medium . * Package parse_duration 2.1.1 from crates.io using debcargo 2.8.3
.dsc
| Section | rust |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | librust-parse-duration-dev deb rust optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: parse_duration
Upstream-Contact: zeta12ti <zeta12ti@protonmail.com>
Source: https://github.com/zeta12ti/parse_duration/
Files: *
Copyright: 2017-2021 zeta12ti <zeta12ti@protonmail.com>
2017 The parse_duration Developers
License: MIT
Files: LICENSE
Copyright: 2017 The parse_duration Developers
License: MIT
Files: src/lib.rs
Copyright: 2017 The parse_duration Developers
License: MIT
Files: src/parse.rs
Copyright: 2017 The parse_duration Developers
License: MIT
Files: src/tests.rs
Copyright: 2017 The parse_duration Developers
License: MIT
Files: debian/*
Copyright:
2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
2026 Ying-Chun Liu (PaulLiu) <paulliu@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.
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 2 hours ago.
Report
DFSG NEW review for rust-parse-duration version 2.1.1-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: nothing found
Licensing
The whole tree is MIT-licensed: LICENSE, src/lib.rs, src/parse.rs and src/tests.rs each carry the full MIT text with Copyright (c) 2017 The parse_duration Developers, Cargo.toml and README state MIT, and nothing in the tree carries other terms. debian/copyright is DEP-5, matches every file with the correct stanza, and includes the full MIT text; the prescan's holder comparison found no holder missing.
Packaging
Standard debcargo 2.8.3 output: compat 13, dh-sequence-cargo, Build-Depends-Arch with <!nocheck> on the test-only tools, a single arch:any Multi-Arch: same -dev package with the usual Provides, Vcs-*, autopkgtest entries for the three feature sets, and one DEP-3-headed patch relaxing num to >=0.2, which the archive's num 0.4.3 satisfies. Standards-Version 4.7.4 is current against Policy 4.7.4.1, the changelog is sane, and there are no maintainer scripts to get wrong.
Issues
None.
Verified ◂
- Read debian/copyright in full: DEP-5,
Files: *(zeta12ti), later stanzas over the four MIT-noticed files,Files: debian/*, and a standalone MIT paragraph with the complete permission text. - LICENSE (line 3) and the headers of src/lib.rs, src/parse.rs and src/tests.rs (each line 3) all read
Copyright (c) 2017 The parse_duration Developersfollowed by the full MIT text; debian/copyright names that holder for exactly those paths. - README.md:41
This software is licensed under the MIT License.and Cargo.tomllicense = "MIT"; the remaining files (Cargo.toml, Cargo.toml.orig, CHANGELOG.md, README.md, .gitignore, .travis.yml, .cargo_vcs_info.json) carry no other terms and are the upstream author's own files, covered byFiles: *. - A tree-wide grep for Copyright/(C)/©/SPDX/Licensed under/permission grants/GNU/Apache/Mozilla/public domain/all rights reserved found no notice outside MIT and no non-free wording.
- Cargo.toml is the cargo-generated file (
THIS FILE IS AUTOMATICALLY GENERATED BY CARGO); its generator input Cargo.toml.orig is shipped at the top level, and .cargo_vcs_info.json is cargo metadata, so no built file lacks its source. - Compared the unpacked tree with the orig tarball: identical eight top-level files plus src/, no vendored third-party code and no file excluded by any Files-Excluded (there is none).
- The prescan's author check reported
every holder found is named in debian/copyright; it listed no individual file to account for. - debian/patches/0001-relax-dependencies.patch changes only
num = "0.2"to>=0.2and has Description/Forwarded/Author/Last-Update headers; it is applied in the tree (Cargo.toml has>=0.2) and matches thelibrust-num+default-dev (>= 0.2)Build-Depends. - apt-cache: librust-num+default-dev is provided by librust-num-dev 0.4.3 (>= 0.2 satisfied), librust-lazy-static-1+default-dev by 1.5.1, librust-regex-1+default-dev by 1.13.1, and dh-cargo 34 provides dh-sequence-cargo; librust-parse-duration-dev itself is produced by this package, so its absence from the archive is expected.
- src/parse.rs uses num's
pow,BigIntandToPrimitive, which the archive's num 0.4.3 provides; the dependency was reviewed on the version change only, and the package shows no use of an item num 0.4 lacks. - debian/tests/control has three cargo-auto-test entries (
--all-features, default,--no-default-features) with dh-cargo and rustc dependencies and unique test-name features;Architecture: !riscv64is set on the no-default-features entry. - debian/rules builds with dh $@ --buildsystem cargo and runs
dh_auto_test -- test --all; at compat 13 dh skips that override under nocheck, which matches the<!nocheck>markings on the test-only Build-Depends-Arch entries. - debian/control: Standards-Version 4.7.4 is current against Policy 4.7.4.1 (same first two components), Vcs-Git/Vcs-Browser point at debcargo-conf
[src/parse-duration], Homepage matches the copyright Source, and the changelog is an unstested2.1.1-1entry with a valid date. - Read every file under debian/ (control, rules, changelog, copyright, copyright.debcargo.hint, debcargo.toml, source/format, patches/series, the patch, tests/control); there are no maintainer scripts, no *.maintscript, and no other debian/ files beyond the ignored cargo-checksum.json.
- uscan found the packaged version as the newest upstream release (upstream
2.1.1, packaged2.1.1).
Not confirmed ◂
None.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 2 hours ago.