| 1 |
Source: rust-expecting |
| 2 |
Section: rust |
| 3 |
Build-Depends: |
| 4 |
debhelper-compat (= 13), |
| 5 |
dh-sequence-rust, |
| 6 |
librust-anyhow-dev, |
| 7 |
Maintainer: Jonas Smedegaard <[email protected]> |
| 8 |
Standards-Version: 4.7.4 |
| 9 |
Homepage: https://github.com/arcanyx-pub/expecting-rs |
| 10 |
Vcs-Git: https://salsa.debian.org/debian/rust-expecting.git |
| 11 |
Vcs-Browser: https://salsa.debian.org/debian/rust-expecting |
| 12 |
|
| 13 |
Package: librust-expecting-dev |
| 14 |
Architecture: all |
| 15 |
|
| 16 |
Depends: |
| 17 |
librust-anyhow-dev, |
| 18 |
${misc:Depends}, |
| 19 |
Provides: |
| 20 |
librust-expecting-0.6+default-dev (= ${binary:Version}), |
| 21 |
librust-expecting-0.6-dev (= ${binary:Version}), |
| 22 |
librust-expecting-0.6.0-dev (= ${binary:Version}), |
| 23 |
Description: macros that test conditions without panicking - Rust source code |
| 24 |
Expecting provides macros for testing conditions without panicking. |
| 25 |
The expect_* family of macros cause an early return of anyhow::Error |
| 26 |
if the expected condition is not met. |
| 27 |
. |
| 28 |
This crate is especially helpful in async integration tests |
| 29 |
that involve provisioning and tearing down resources; |
| 30 |
rather than struggle to catch panics, |
| 31 |
you can simply use expect_* instead of assert_* to return Result. |
| 32 |
. |
| 33 |
This package contains the source for the Rust expecting crate, |
| 34 |
for use with cargo. |