DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-ra-ap-rustc-lexer 0.166.0-1

Package Information

DescriptionRust compiler lexer for rust-analyzer - Rust source code

Automatically published copy of the rustc compiler crate rustc_lexer from the rust-lang/rust repository, used by the rust-analyzer library crates (ra_ap_*). Source code for Debianized Rust crate "ra-ap-rustc_lexer"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/ra-ap-rustc-lexer] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ra-ap-rustc-lexer
Uploaded1 hour ago

New Package Report

.changes◂
Distributionunstable
DateTue, 01 Dec 2026 21:30:48 -0600
Sourcerust-ra-ap-rustc-lexer
Version0.166.0-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Changelog◂
rust-ra-ap-rustc-lexer (0.166.0-1) unstable; urgency=medium
 .
   * Package ra-ap-rustc_lexer 0.166.0 from crates.io using debcargo 2.8.4
.dsc◂
Priorityoptional
Componentmain
Package-Listlibrust-ra-ap-rustc-lexer-dev deb rust optional arch=any
Sectionrust
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra-ap-rustc_lexer
Upstream-Contact: The Rust Project Developers
Source: https://github.com/rust-lang/rust

Files: *
Copyright: 2010-2026 The Rust Project Developers
License: MIT  or  Apache-2.0

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
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 0 hours ago.

Report◂

DFSG NEW review for rust-ra-ap-rustc-lexer version 0.166.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is 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 tree is a single small crates.io crate: Cargo.toml, Cargo.toml.orig, Cargo.lock, src/lib.rs and src/tests.rs. Cargo metadata declares license = "MIT / Apache-2.0", matching the MIT or Apache-2.0 choice in debian/copyright, the full MIT/Expat text is included, and Apache-2.0 is correctly referred to /usr/share/common-licenses/Apache-2.0. No source file carries a copyright or licence notice needing its own stanza, the prescan found no holder that debian/copyright omits, and no non-free or field-of-use wording or embedded third-party code exists. debian/copyright is in DEP-5 format and covers every file via Files: * plus the debian/* stanza.

Packaging

Standard, clean debcargo-generated packaging: debhelper compat 13 (supported, not discouraged) with dh-sequence-cargo, correct Build-Depends-Arch split, and every versioned Rust build/test dependency exists in the archive at a sufficient version (memchr 2.8.3, unicode-ident 1.0.27, unicode-properties 0.1.5 with emoji, expect-test 1.5.1). The <!nocheck> markers are right because the cargo buildsystem only copies sources during configure/build/install and compiles in dh_auto_test, which compat 13 skips under nocheck; autopkgtest supplies the dev-dependency. Changelog, source format, tests/control, upstream metadata, Vcs-* and Standards-Version 4.7.4 (Policy 4.7.4.1) are all in order; there are no patches or maintainer scripts.

Issues

None.

Verified ◂
  • Read every file under debian/ (control, rules, changelog, copyright, copyright.debcargo.hint, debcargo.toml, source/format, tests/control, upstream/metadata) except watch (reviewed separately) and cargo-checksum.json (excluded); there are no patches, maintainer scripts, install/links/docs/dirs files or gbp.conf.
  • Upstream inventory is exactly Cargo.toml, Cargo.toml.orig, Cargo.lock, src/lib.rs and src/tests.rs; there is no upstream LICENSE, COPYING, NOTICE or AUTHORS file, and search with gitignore disabled found no other files.
  • Cargo.toml:31 and Cargo.toml.orig:18 declare license = "MIT / Apache-2.0"; neither source file contains any copyright/licence notice, so the Files: * stanza with The Rust Project Developers covers them and the prescan author check found every holder named.
  • debian/copyright is DEP-5, includes the complete MIT/Expat text and points to /usr/share/common-licenses/Apache-2.0; MIT and Apache-2.0 are compatible and both are DFSG-free.
  • grep across the whole tree found no "all rights reserved", non-commercial, no-modification, field-of-use or other non-free wording; the hard-coded character lists in src/lib.rs:341-385 are Unicode Pattern_White_Space values, not copied third-party tables.
  • apt-cache: librust-memchr-dev 2.8.3 provides 2+default (>= 2.7.6), librust-unicode-ident-dev 1.0.27 provides 1+default (>= 1.0.22), librust-unicode-properties-dev 0.1.5 provides 0.1+emoji (>= 0.1.4), librust-expect-test-dev 1.5.1 provides 1+default (>= 1.4.0), dh-cargo 34 (>= 33 for the tests), rustc and libstd-rust-dev 1.99.1.
  • Standards-Version 4.7.4 against the reviewing system's Policy 4.7.4.1; debhelper 14.5 reports compat 13 as supported and neither deprecated nor discouraged.
  • The <!nocheck> markers are correct: /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm's sub build and sub install only copy sources, and the compile check is in sub test, which dh skips under nocheck at compat 13; the dev-dependency expect-test is supplied only by debian/tests/control.
  • The @ in debian/tests/control Depends is expanded by autopkgtest to the built package (/usr/share/autopkgtest/lib/testdesc.py, _expand_test_depends); trailing/@ forms are not faults.
  • debian/changelog is a sane initial 0.166.0-1 unstable entry dated Tue, 01 Dec 2026, matching the .dsc; source/format is 3.0 (quilt) with no patches, so there are no patch-created files.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 0.186.0, packaged 0.166.0), which is not a fault of the package.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The upstream copyright holder and year range in Files: * (2010-2026 The Rust Project Developers) cannot be confirmed from anything inside the package: the crate files carry no notices and Cargo metadata gives only the licence; no contrary holder or licence was found anywhere in the tree.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Back to Dashboard | View all reviews for this package