Paul Mason
Paul Mason
There may be a way to reduce dependencies further as well as reduce layers of complexity, by extrapolating the pg source directly. This could perhaps leverage the ruby script that...
Requires Rust `1.60`. As per: https://doc.rust-lang.org/cargo/reference/features.html#dependency-features We can move some of the `std` features into `std` only enabling it when the feature is defined.
Some thoughts for version 2 of the Decimal library. Issue numbers will be added as they are created. * [ ] Define updated rust minimum version. * [ ] Remove...
To allow for effective use of larger components (e.g. u128) it'd make sense to optimize the flags field and use any additional bits there for the mantissa. This changes the...
In theory this should be possible. The macro _only_ relies on the decimal library to perform string parsing in order to break it down into raw parts to invoke the...
This can likely share some lessons from `serde_json`, without pulling in the additional dependency. e.g. Serlialization, look into how this is done. ```rust serde_json::Number::from_str(&self.to_string()) .map_err(serde::ser::Error::custom)? .serialize(serializer) ``` e.g. ```rust let...
There are some areas where `panic` is warranted however there are others (e.g. `rescale`, `from_bytes_le`) that we could utilize Rust's error handling further. In addition, with libraries such as `error-chain`...
This revisits the previous macro feature and removes the dependency on rust-decimal for parsing the string. Consequently, macros and rust decimal can be decoupled and delivered independently. There may be...
# Problem Serialization / Deserialization of Rust Decimals has been a pain point for developing against this library simply because there are many different behaviors that developers need to support...