Bug#1135583: ITP: rust-expecting -- macros that test conditions without panicking

Jonas Smedegaard <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <177778921295.1099964.793374681037825802.reportbug__23043.3968988777$1777789418$gmane$org@cairon.jones.dk>
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <[email protected]>
X-Debbugs-Cc: [email protected]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : rust-expecting
  Version         : 0.6.0
  Upstream Contact: https://github.com/arcanyx-pub/expecting-rs/issues
* URL             : https://github.com/arcanyx-pub/expecting-rs
* License         : Expat
  Programming Lang: Rust
  Description     : macros that test conditions without panicking

 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 is needed for alumet (see bug#1120300).

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmn26RkMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhsYoP/2bE/TpscTl+s1QMrmgEEqwHgVeXL+txkpIKZrJS
khD3sDAP3Lf6p3uvvhzBEdL2n4CMImFVJpFsyLJRSfOOp5oXPBXpRyChYJ/1pKq7
APsP8BMX927Btvo7PKlER8r9mAuDZWH0fWplC9EaBrpywLlTkjy32eEmm9U/S92o
ykzckJ9nYZjW9VTY5hHz5kX4TtvzUfEYE/TBAaWlosinly4aqEWV39N2qkvESPvP
YsQzowf9fcrm1J6UE4bn0iQDcRXpIKXjS8vyJPksD9PaDP6+01ZW9RrDS0U4L2FX
LbMJ9DJvZUOZamS8AnLc3m1d1saqDGNR1p8tx05tHc/G+dBDes7AH4y+MqLyDipj
C6VgdbywU8cxqX0I89IsUMuIcMF7tmqRdfYVjuyTdRviLpRDCrxHsIM/xSXVjszx
dFi0dUHjHFppXr0TS31A0wl0QSu+O+RbyjdrkQyW6t8xYA3Z3xJb84DlVuMz3VFc
X8tm2AzCC+Pik+YrAQExTBlOt4/nVaE0LuH2iPCOUpCc2eJsvexPEHIWRqdNKsde
FTDSOPNATDlFk+9PHmYGn13cGrxeAx28sbgI1fGwbGB9Ttk55+wlMB3PWHrMFm1f
Vu7ESb+ZBpcpFep9yL3oAe2zykuFVLigYUg2QWzpCQJUIwbSoXbBucFbDVWmSdih
Kpel
=sri6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.