expect_soft 0.1.1

.expect but exit instead of panic
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 2.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 135.44 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • modtk/expect_soft
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rosidae

.expect but exit instead of panic

Example usage

use expect_soft::ExpectSoft;
use std::fs;

fn main() {
  fs::read_to_string("./readme.md").expect_soft("readme.md does not exist!");
}