anxious

Crates.ioanxious
lib.rsanxious
version0.1.0
created_at2024-03-16 02:15:39.93007+00
updated_at2024-03-16 02:15:39.93007+00
descriptionanxious provides a panic-free dialect of Rust
homepagehttps://github.com/mspiegel/anxious
repositoryhttps://github.com/mspiegel/anxious
max_upload_size
id1175354
size63,057
Michael Spiegel (mspiegel)

documentation

README

anxious

static analysis unit tests codecov

Integer Operations

Operation I8 INom8 IBit8 INomBit8
+, -, *
/, %
==
<, >
&, |, ^, !
<<, >>, >>>
Display
Debug

I8 can return Panic value IntegerOverflow on arithmetic operations +, -, *
I8 can return Panic value IntegerOverflow or IntegerDivizionByZero on arithmetic operations /, %
IBit8 and INomBit8 perform wrapped arithmetic on +, -, *
IBit8 can return Panic value IntegerDivizionByZero on arithmetic operations /, %
Equality and Comparison are defined on the nominal types
Display is defined on all nominal types
Debug is defined on all types

Commit count: 12

cargo fmt