DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: rust-expecting 0.6.0+ds-1

Package Information

Descriptionmacros that test conditions without panicking - Rust source code

Expecting provides macros for testing conditions without panicking. The expect_* family of macros cause an early return of anyhow::Error if the expected condition is not met.

This crate is especially helpful in async integration tests that involve provisioning and tearing down resources; rather than struggle to catch panics, you can simply use expect_* instead of assert_* to return Result.

This package contains the source for the Rust expecting crate, 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-expecting.git (browse)
Closes#1135583
Trackerhttps://tracker.debian.org/pkg/rust-expecting
Uploaded3 hours ago

New Package Report

.changes
DateSun, 03 May 2026 08:44:27 +0200
Sourcerust-expecting
Version0.6.0+ds-1
Changed-ByJonas Smedegaard
Architecturesource all
Distributionexperimental
Changelog
rust-expecting (0.6.0+ds-1) experimental; urgency=medium
 .
   * initial packaging release;
     closes: bug#1135583
.dsc
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-expecting-dev deb rust optional arch=all
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: abnf-core
Upstream-Contact: https://github.com/arcanyx-pub/expecting-rs/issues
Source: https://github.com/arcanyx-pub/expecting-rs
 .
 Repackaged, excluding any .git* files
Files-Excluded:
 */.git*

Files: *
Copyright:
  2022  Arcanyx Technical Wizardry LLC
License-Grant:
 license = "MIT"
License: Expat
Reference:
 Cargo.toml
 LICENSE

Files:
 debian/*
Copyright:
  2023-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: Expat
Reference:
 Cargo.toml
 LICENSE
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: 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

Review Information

accepted — allocated to mechtilde 1 hour ago, started 1 hour ago, completed 1 hour ago.

Final Comment

Back to Dashboard | View all reviews for this package