File: README.MD

package info (click to toggle)
rust-soft-assert 0.1.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104 kB
  • sloc: makefile: 9
file content (25 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# `soft_assert`

Various macros that return early if a given condition is false.
Similar to the various `assert` macros in `std`

## Usage

Add the following to your `Cargo.toml`:

```toml
[dependencies]
soft_assert = "0.1"
```

## License

This project is licensed under either of

* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
  ([LICENSE-APACHE](LICENSE-APACHE))

* [MIT License](http://opensource.org/licenses/MIT)
  ([LICENSE-MIT](LICENSE-MIT))

at your option.