rust-planus-lexer 1.3.0-1
Package Information
| Description | Library for lexing FlatBuffers schema files FlatBuffers is a binary serialization format originally developed at Google for storing and exchanging structured data efficiently across programming languages. Data structures are described in schema files (.fbs), from which a compiler generates code to read and write the binary representation. FlatBuffers allows fields to be accessed directly in the serialized buffer without first unpacking the entire message into separate objects. Planus is an alternative FlatBuffers implementation written in Rust. It provides a schema compiler that generates Rust bindings, together with a runtime library for reading and writing FlatBuffers data. Its tools also support checking, formatting and inspecting schemas and serialized data. This crate implements the lexical analysis stage of the Planus compiler. It reads schema text and groups characters into tokens such as keywords, names, numeric and string literals, and punctuation, which the parser uses to recognize schema declarations. It also retains comments and source locations for documentation, formatting and error diagnostics. The lexer is an internal component of planus-cli; its API has no stability guarantees. |
|---|---|
| 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/planus-lexer] (browse) |
| Closes | #1151237 |
| Tracker | https://tracker.debian.org/pkg/rust-planus-lexer |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Architecture | source amd64 |
|---|---|
| Distribution | unstable |
| Date | Fri, 30 Oct 2026 13:45:49 +0100 |
| Source | rust-planus-lexer |
| Version | 1.3.0-1 |
| Changed-By | Steffen Moeller <moeller@debian.org> |
Changelog
rust-planus-lexer (1.3.0-1) unstable; urgency=medium . * Initial release (Closes: #1151237). * Package planus-lexer 1.3.0 from crates.io using debcargo 2.8.4. * Complete upstream and Debian packaging copyright information.
.dsc
| Component | main |
|---|---|
| Package-List | librust-planus-lexer-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: planus-lexer
Source: https://github.com/planus-org/planus
Files: *
Copyright: 2021 The Planus Project Developers
License: MIT or Apache-2.0
Files: debian/*
Copyright: 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
2026 Steffen Moeller <moeller@debian.org>
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, 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-planus-lexer version 1.3.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: nothing found
Licensing
Every file in the source is covered by debian/copyright, which is DEP-5, and the terms are DFSG-free. Upstream is dual-licensed MIT OR Apache-2.0, matching Cargo.toml (license = "MIT/Apache-2.0") and the two shipped licence files; LICENSE-MIT names the single holder, 2021 The Planus Project Developers, which is exactly what the Files: * stanza says. The MIT text is reproduced in full and Apache-2.0 is referenced from /usr/share/common-licenses. No vendored third-party code, no non-free terms, no binaries or generated files lacking their sources.
Packaging
This is a clean, unmodified debcargo 2.8.4 upload of a single-crate library: compat 13 with dh-sequence-cargo, correct Architecture/Multi-Arch and relationship fields, all build and test dependencies satisfiable in the archive, autopkgtest tests present, sane changelog and Vcs-* fields, and no patches or maintainer scripts are needed. Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 at two components. No packaging issues worth reporting were found.
Issues
None.
Verified
- Prescan: it flagged no file and no missing holder (
Result: every holder found is named in debian/copyright). The only copyright notice in the tree is LICENSE-MIT:3Copyright (c) 2021 The Planus Project Developers, which theFiles: *stanza names verbatim; LICENSE-APACHE carries the bare Apache-2.0 text with no holder line. - Full inventory (glob with
gitignore: false, hidden files included): 11 upstream files —src/{lib,error,full_lexer,raw_lexer,text_lexer}.rs,Cargo.toml,Cargo.toml.orig,Cargo.lock,LICENSE-APACHE,LICENSE-MIT,.cargo_vcs_info.json— and 11 files underdebian/. I read all fivesrc/*.rsfiles in full; they are hand-written Rust with no embedded third-party code and no non-free wording. - No built, minified, binary, PDF, font or image files exist in the tree; nothing in it is generated code whose input is missing.
.cargo_vcs_info.jsonandCargo.lockare shipped bycargo packageupstream and are plain text under the same licence. - No embedded copies of third-party code:
codespan,derive_moreandlogosare ordinary Cargo dependencies resolved to Debian packages, andCargo.locklists only crates.io registry entries. - debian/copyright: starts with the exact copyright-format 1.0 URL;
Files: *followed byFiles: debian/*(so the Debian stanza correctly overrides the catch-all for every depth belowdebian/); MIT-or-Apache-2.0 matchesCargo.tomland the two LICENSE files; the MIT text in the file matches LICENSE-MIT including its layout; Apache-2.0 is referenced as/usr/share/common-licenses/Apache-2.0, which exists. - debian/copyright.debcargo.hint still has debcargo's
FIXME (overlay) UNKNOWN-AUTHORSplaceholders, but it is debcargo's input template, not the shipped copyright file: it is not installed into any binary package, and it is itself covered byFiles: debian/*. debian/copyright has real values and no FIXME text, so it is not an inaccuracy in the licensing statement. - The unpacked tree matches the source package: contents of
rust-planus-lexer_1.3.0.orig.tar.gz(top-levelplanus-lexer-1.3.0/) andrust-planus-lexer_1.3.0-1.debian.tar.xzare exactly the files present, and.pc/(empty quilt series,applied-patchesempty) is not in either tarball. There are no patches and nodebian/patchesdirectory. - Dependencies:
librust-codespan-0.13+default-dev (>= 0.13.1)is provided by librust-codespan-dev 0.13.1-1,librust-derive-more-2+default-dev/+is-variant-dev (>= 2.1.1)by librust-derive-more-dev 2.1.1-1,librust-logos-0.16+default-devby librust-logos-dev 0.16.1-1 (all via the apt-cache tool), and rustc 1.97.1/1.98.1 satisfiesrustc:native (>= 1.88), matchingrust-version = "1.88"andBreaks: rustc (<< 1.88~). - dh-cargo's
buildstep only copies the crate sources and compilation happens intest(sub build/sub testin/usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm), so<!nocheck>on cargo, rustc and the crate deps inBuild-Depends-Archis consistent, and at compat 13 dh skips theoverride_dh_auto_testtarget undernocheck. - Standards-Version 4.7.4 against the reviewing system's Policy 4.7.4.1: first two components equal, so not an issue. Changelog is
unstable,1.3.0-1, initial upload closing an ITP, signed by the sole Uploader on a correctly dated Friday; Vcs-Git/Vcs-Browser (debcargo-conf subdirectory) and Homepage agree with the control fields and upstream/metadata. - debian/tests/control provides three autopkgtest runs (all features, default, no default features) against dh-cargo; the package has no maintainer scripts, no install/links/docs/dirs files, and needs none.
- uscan found the packaged version as the newest upstream release (upstream
1.3.0, packaged1.3.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed
- The third autopkgtest entry (
--no-default-features) carriesArchitecture: !riscv64with no comment. I could not check why; it withholds one test run on one architecture and is not a packaging fault. - The ITP number in the changelog (#1151237) could not be checked, as the BTS is not reachable from the reviewing environment.
Proposed changes
None.
Uploader's response to the LLM review
The uploader was emailed about the review 1 hour ago.