DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-ra-ap-parser 0.0.358-1

Package Information

DescriptionRust parser for rust-analyzer - Rust source code

Source code for Debianized Rust crate "ra_ap_parser"

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-parser] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ra-ap-parser
Uploaded2 hours ago

New Package Report

.changes◂
DateTue, 01 Dec 2026 22:10:22 -0600
Sourcerust-ra-ap-parser
Version0.0.358-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Distributionunstable
Changelog◂
rust-ra-ap-parser (0.0.358-1) unstable; urgency=medium
 .
   * Package ra_ap_parser 0.0.358 from crates.io using debcargo 2.8.4
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-ra-ap-parser-dev deb rust optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra_ap_parser
Upstream-Contact: rust-analyzer team
Source: https://github.com/rust-lang/rust-analyzer

Files: *
Copyright: 2018-2026 rust-analyzer team
License: MIT or Apache-2.0

Files: src/frontmatter.rs
Copyright:
 2010-2026 The Rust Project Developers
 2018-2026 rust-analyzer team
License: MIT or Apache-2.0
Comment:
 Copied from cargo src/cargo/util/frontmatter.rs.

Files: test_data/parser/ok/0035_weird_exprs.rs
Copyright:
 2010-2026 The Rust Project Developers
 2018-2026 rust-analyzer team
License: MIT or Apache-2.0
Comment:
 Adapted from the rustc test tests/ui/expr/weird-exprs.rs.

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 1 hour ago.

Report◂

DFSG NEW review for rust-ra-ap-parser version 0.0.358-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

debian/copyright is DEP-5, and its stanzas match the tree: Files: * covers the crate under MIT or Apache-2.0 (the licence Cargo.toml declares), with separate stanzas naming The Rust Project Developers for src/frontmatter.rs (copied from cargo) and test_data/parser/ok/0035_weird_exprs.rs (adapted from a rustc test), both correctly dual-licensed MIT/Apache-2.0. Full MIT text is included and Apache-2.0 is referenced from /usr/share/common-licenses, where both are valid. No other copyright or licence notices, non-free wording, or third-party licence texts occur in the upstream tree; the prescan's holder check found no missing holders. The .rast files are test expectations generated from the .rs inputs shipped beside them, and no built, minified or binary artifacts are shipped.

Packaging

Standard debcargo packaging: compat 13 with dh-sequence-cargo, correct Build-Depends-Arch, a valid DEP-14 Vcs-Git field, Standards-Version 4.7.4 (current against Policy 4.7.4.1), a sane 0.0.358-1 changelog, and a single well-formed DEP-3 patch relaxing winnow to 1 and rustc-literal-escaper to 0.0.8 (the versions in Debian). Every dependency is satisfiable: rustc 1.99.1 is in unstable and the ra-ap-edition, ra-ap-rustc-lexer and rustc-literal-escaper binaries are in the NEW queue. The autopkgtest control uses the documented @ expansion and the flaky restriction for the known-broken unit tests. No packaging fault found.

Issues

None.

Verified ◂
  • debian/copyright read in full: DEP-5, Format: correct, Files: * plus src/frontmatter.rs, test_data/parser/ok/0035_weird_exprs.rs and debian/* stanzas, MIT text complete and Apache-2.0 pointing to /usr/share/common-licenses/Apache-2.0; later stanzas override Files: * correctly.
  • Upstream tree inventoried directory by directory (1149 files): top-level Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json, plus src/, test_data/ and debian/ only; no LICENSE, COPYING, NOTICE, README or AUTHORS file is shipped in the crates.io tarball.
  • Case-insensitive greps of the whole tree for Copyright, (C), ©, SPDX, Licensed under, Permission, GNU, Apache, MPL, public domain, All rights reserved, non-commercial, no modification, CC0 and similar found notices only in debian/copyright and debian/copyright.debcargo.hint; no per-file copyright headers exist in the upstream sources.
  • Cargo.toml declares license = "MIT OR Apache-2.0", authors rust-analyzer team, matching the copyright stanza; src/frontmatter.rs and test_data/parser/ok/0035_weird_exprs.rs carry their own provenance comments naming cargo and rustc, both MIT/Apache-2.0.
  • test_data/parser and test_data/lexer .rs inputs and .rast/.txt expectations are test data read by src/tests.rs; test_data/generated/runner.rs is generated from those inputs, which are present. src/syntax_kind/generated.rs is ordinary Rust source shipped by upstream (header: generated by cargo xtask codegen grammar), not a binary or minified artifact.
  • Prescan author check: scanned 1149 files, all four declared holders in debian/copyright, and it reported no holder missing; it listed no built or non-free files to account for.
  • debian/control: debhelper-compat (= 13), dh-sequence-cargo, Build-Depends-Arch with <!nocheck> deps, Multi-Arch: same, Provides/versioned names consistent; Breaks rustc (<< 1.98~) matches rust-version 1.98.
  • apt-cache: rustc 1.99.1+dfsg1-1 available (satisfies >= 1.98); winnow 1.0.5, drop-bomb 0.1.5, tracing 0.1.44 present; librust-ra-ap-edition-dev, librust-ra-ap-rustc-lexer-dev and librust-rustc-literal-escaper-dev are built by uploads waiting in NEW (0.0.358, 0.166.0 and 0.0.8 respectively).
  • debian/patches/relax-deps.patch has a complete DEP-3 header and changes only the two crate version requirements; it applies to Cargo.toml and is listed in series.
  • debian/tests/control: @ in Depends is the documented autopkgtest expansion (verified in the autopkgtest specification), and restrictions/features are syntactically valid; debcargo.toml explains test_is_broken for lib and in-rust-tree (unit tests need unpublished workspace dev-dependencies).
  • Standard-Version 4.7.4 is current against the reviewing system's Policy 4.7.4.1; Vcs-Git [src/ra-ap-parser] syntax is valid per Policy 5.6.26.
  • debian/rules uses dh --buildsystem cargo; override_dh_auto_test is the debcargo output for a crate with test_is_broken set, and at compat 13 dh itself skips it under noctest/nocheck.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 0.0.369, packaged 0.0.358), 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 ◂
  • Could not verify the upstream copyright years (2018-2026) or that rust-analyzer team is the complete set of holders: the crate ships no LICENSE or AUTHORS file and only Cargo.toml's authors field was available, though the prescan's holder comparison found nothing missing.
  • Cannot build the package or run its autopkgtests here; the review assumes the clean sbuild build and test runs described in the instructions succeed.
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