docs.rs failed to build rust_decimal_ext-1.41.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
rust_decimal_ext

rust_decimal_ext is an extension library that adds more operator trait support to rust_decimal. With this library, you can conveniently perform a variety of arithmetic operations, such as addition, subtraction, multiplication, and division, on Decimal types. It also supports automatic conversion and operations with numbers, strings, and other types.
Usage
use *;
let mut a: Decimal = from + 1;
let mut b: Decimal = from + 0.5;
let mut c: Decimal = from + "0.5";
a += 1;
b += 0.5;
c += "0.5";
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
a.partial_cmp.unwrap;
a.partial_cmp.unwrap;
a.partial_cmp.unwrap;
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
assert!;
let mut z = 1;
z += from;
assert!;
let mut z = from;
z += 1;
assert!;
// panic
_ = from + f64NAN;
_ = from + f64INFINITY;
_ = from + f64NEG_INFINITY;