DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-io-oauth 0.8.0+ds-1

Package Information

DescriptionOAuth client library - Rust source code

I/O OAuth is an OAuth client, composed of 3 feature-gated layers:

* Low-level I/O-free coroutines: no_std-compatible state machines containing the whole OAuth logic, usable anywhere * Mid-level light client: a standard, blocking client wrapping a stream you opened yourself * High-level full client: the light client plus TCP connections and TLS negotiations handled for you

This package contains the source for the Rust crate io-oauth, for use with cargo.

MaintainerJonas Smedegaard <dr@jones.dk>
Changed ByJonas Smedegaard <dr@jones.dk>
Sponsorjs@debian.org
Distributionexperimental
Architectureall
VCSgit: https://salsa.debian.org/debian/rust-io-oauth.git (browse)
Closes#1155564
Trackerhttps://tracker.debian.org/pkg/rust-io-oauth
Uploaded4 hours ago

New Package Report

.changes◂
Sourcerust-io-oauth
Version0.8.0+ds-1
Changed-ByJonas Smedegaard <dr@jones.dk>
Architecturesource all
Distributionexperimental
DateSat, 28 Nov 2026 11:57:06 +0100
Changelog◂
rust-io-oauth (0.8.0+ds-1) experimental; urgency=low
 .
   * initial release;
     closes: bug#1155564
.dsc◂
Package-Listlibrust-io-oauth-dev deb rust optional arch=all
Sectionrust
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: I/O OAuth
Upstream-Contact: https://github.com/pimalaya/io-oauth/issues
Source: https://github.com/pimalaya/io-oauth
 .
 Repackaged, excluding any .git* files.
Files-Excluded:
 */.git*

Files: *
Copyright:
  2025-2026  Clément DOUIN (soywod) <pimalaya.org@posteo.net>
License-Grant:
 This project is licensed under either of:
 .
 - [MIT license](LICENSE-MIT)
 - [Apache License, Version 2.0](LICENSE-APACHE)
License: Apache-2.0 or Expat
Reference:
 Cargo.toml
 LICENSE-APACHE
 LICENSE-MIT
 README.md

Files:
 debian/*
Copyright:
  2026  Jonas Smedegaard <dr@jones.dk>
License-Grant:
 This packaging is free software;
 you can redistribute it and/or modify it
 under the terms of the GNU General Public License
 as published by the Free Software Foundation;
 either version 3,
 or (at your option) any later version.
License: GPL-3+
Reference: debian/copyright

Files:
 debian/patches/*
Copyright:
  Jonas Smedegaard <dr@jones.dk>
License: Apache-2.0 or Expat
Reference:
 Cargo.toml
 LICENSE-APACHE
 LICENSE-MIT
 README.md
Comment:
 Patches commonly lack explicit copyright and license.
 For the cases where patches are copyrightable at all,
 copyright is assumed to be held by the author,
 and license is assumed to be the same as main upstream license.

License: Apache-2.0
Reference: /usr/share/common-licenses/Apache-2.0

License: Expat
 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.

License: GPL-3+
Reference: /usr/share/common-licenses/GPL-3

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 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-io-oauth version 0.8.0+ds-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is machine-readable DEP-5 and its three Files stanzas match the tree: Files: * for the whole upstream crate (Apache-2.0 or Expat, matching Cargo.toml's license = "MIT OR Apache-2.0"), debian/* under GPL-3+, and a later debian/patches/* override. A grep of all 86 files for copyright and licence markers found notices only in LICENSE-APACHE and LICENSE-MIT; no per-file headers, no NOTICE/COPYING/AUTHORS file, no vendored third-party code and no non-free terms. The one holder the prescan flagged (soywod clement.douin@posteo.net in LICENSE-MIT:3 and LICENSE-APACHE:190) is the same person as Clément DOUIN (soywod) <pimalaya.org@posteo.net> named in the copyright file, under a different e-mail; both are shipped verbatim as plain text, so Policy 2.3 does not require the address to be copied. License-Grant:/Reference: are extra fields, which copyright-format 1.0 section 4 permits, and the Apache-2.0 and GPL-3 texts are pointed at in /usr/share/common-licenses.

Packaging

Clean dh-rust packaging at compat 14: bare dh $@, a single Architecture: all -dev package whose Provides cover every feature the patched Cargo.toml still has, a dependency list that matches Cargo.toml, DEP-3 patches with stated purposes, eight autopkgtest cases and a consistent experimental changelog entry. The only fault is that Multi-Arch: foreign is commented out in debian/control, where every other librust-*-dev package in the archive (e.g. librust-rustls-platform-verifier-dev 0.6.2-1) declares it; without it the architecture-independent crate source cannot satisfy a foreign-architecture Build-Depends when a dependent package is cross-built.

Issues

minor packaging 1. Multi-Arch: foreign is commented out in debian/control, unlike other librust-*-dev packages ◂
  • Files: debian/control:32
  • Basis: checked, in the package or with a reference tool
  • Evidence: #Multi-Arch: foreign
  • Problem: Policy 5.6.34.1: an architecture-independent package without a Multi-Arch field is treated as having the architecture of the installed dpkg, so a dependency on librust-io-oauth-dev from a package built for another architecture is not satisfied (no foreign-arch Build-Depends resolution, no :any). The installed content is pure Rust source with no architecture-dependent interface, and the other librust-*-dev packages in the archive (e.g. librust-rustls-platform-verifier-dev 0.6.2-1, seen with apt-cache) declare the field.
  • Fix: Uncomment the field (Multi-Arch: foreign).
Verified ◂
  • Read debian/copyright in full: DEP-5 with Format: https://.../1.0/, a header stanza, Files: *, Files: debian/*, Files: debian/patches/*, and stand-alone License: Apache-2.0, License: Expat and License: GPL-3+ paragraphs.
  • Inventoried the tree (86 files: Cargo.toml, Cargo.lock, LICENSE-, README/CHANGELOG/CONTRIBUTING/SECURITY/AGENTS/CLAUDE, deny.toml, flake., shell.nix, cairn/, examples/*.rs, src/). Every upstream file is matched by Files: *; debian/ files by the two later stanzas.
  • Grepped every file for Copyright/(C)/©/SPDX/Licensed under/Permission is hereby granted/GNU General Public/Apache License/public domain/All rights reserved: the only notices are LICENSE-MIT:3 and LICENSE-APACHE:190; no source file carries a header and there is no NOTICE, COPYING or AUTHORS file at any depth.
  • Prescan holder soywod <clement.douin@posteo.net> (LICENSE-MIT:3, LICENSE-APACHE:190) is the same holder as 2025-2026 Clément DOUIN (soywod) <pimalaya.org@posteo.net> in Files: *: same name and pseudonym, different e-mail. Those two files are installed unchanged as plain text with their notices intact, so Policy 2.3 condition 3 is not met and nothing is missing.
  • Licence short names match the text and Cargo.toml's license = "MIT OR Apache-2.0"; Expat is the DEP-5 name for MIT; LICENSE-APACHE is stock Apache-2.0 apart from its copyright line; both texts resolve to /usr/share/common-licenses/Apache-2.0 and GPL-3.
  • License-Grant: and Reference: are not standard fields but are permitted extra fields (copyright-format 1.0 section 4, "Extra fields can be added to any stanza"), so the file does not violate the format.
  • No DFSG problems: nothing non-commercial, no-modification or field-of-use restricted; deny.toml's licence allow-list and the README's sponsorship links are upstream configuration and prose, not terms on this code.
  • Files-Excluded */.git* matches nothing left in the tree; no .git* file remains.
  • No built, generated, minified, PDF, image or font files in the tree, so the scan's built-file and provenance checks have nothing to flag.
  • The four patches create no files (they only edit Cargo.toml and README.md), so no patched-in file needs its own stanza.
  • All four patches carry DEP-3 headers (Description, Author, Last-Update, plus Forwarded: not-needed where applicable) and state a clear purpose; 2002 relaxes a dev-dependency to the 0.6.2 the archive has.
  • Dependencies checked with apt-cache: librust-getrandom-0.4-dev, librust-secrecy-0.10-dev, librust-sha1-0.11-dev, librust-sha2-0.11-dev, librust-anyhow-1-dev, librust-rsa-0.10-dev, librust-url-2-dev and librust-env-logger-0.11-dev are virtual names provided by their librust-*-dev packages; librust-rustls-platform-verifier-dev is 0.6.2-1 and satisfies (<< 0.8); dh-rust 0.1.4 provides dh-sequence-rust; debhelper 14.5 provides dh-sequence-single-binary.
  • librust-io-http-dev, librust-base64-codec-dev and librust-pimalaya-stream-dev are not in the archive yet but are built by rust-io-http 0.9.0+ds-1, rust-base64-codec 0.1.0+ds-1 and rust-pimalaya-stream 0.4.1+ds-1, all waiting in NEW for experimental, so those dependencies are satisfiable once the stack is accepted.
  • closes: bug#1155564 is recognised by dpkg's find_closes regex (closes:\s*(?:bug)?#?\d+, read at /usr/share/perl5/Dpkg/Changelog/Entry/Debian.pm:413-424), so the closure is valid; experimental matches the target of the NEW queue this stack is uploaded to.
  • Standards-Version 4.7.4 against Policy 4.7.4.1: current, not an issue.
  • compat 14 with a bare dh $@ and dh-rust's buildsystem; at compat 14 relationship substvars need not be named in debian/control.
  • debian/rules has no overrides; debian/source/format is 3.0 (quilt); gbp.conf's dist = DEP14 is gbp's branch-derived distribution value.
  • debian/upstream/metadata, Vcs-Git and Vcs-Browser are present and consistent; debian/copyright also covers the helper files debian/copyright-check and debian/copyright_hints.
  • debian/tests/control provides eight autopkgtest cases (default, all-features, no-default-features, client, jwt-bearer, native-tls, rustls-ring, std) via dh-rust's cargo-auto-test with @ feature expansion and Restrictions: allow-stderr.
  • cairn/, AGENTS.md, CLAUDE.md, flake.nix, shell.nix and deny.toml are upstream files shipping inside the crate source, installed unchanged rather than added by Debian; AGENTS.md/CLAUDE.md only point coding agents at external Pimalaya documents and no build step or Debian file fetches anything.
  • uscan found the packaged version as the newest upstream release (upstream 0.8.0, packaged 0.8.0+ds).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, GPL-3).
Not confirmed ◂
  • Whether the --all-features and native-tls autopkgtests resolve every optional crate: librust-pimalaya-stream-0.4-dev is still in NEW, so its Depends could not be read.
  • flake.nix, shell.nix, flake.lock and deny.toml were read as configuration text only; nothing was executed, so their behaviour is unchecked.
  • README.md and CONTRIBUTING.md still document the rustls-aws and vendored features that patches 2003 and 2001 remove; this is upstream documentation shipped as-is, so it was not raised as an issue.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 2 hours ago.

Back to Dashboard | View all reviews for this package