Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Defensive Programming Pattern to allow to check for conditions without panicking in production code (i.e. not in tests).

Add to Cargo.toml:

rust-soft-assert = { git = "https://github.com/grooviegermanikus/rust-soft-assert.git", tag = "v0.2" }
soft_assert!(false, "This is a soft assert");

About

Turn assertions into harmless logging instead of panics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages