paupino / rust-decimal

Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
https://docs.rs/rust_decimal/
MIT License
1.03k stars 182 forks source link

Implements serde-lexical #676

Open emmanuel-keller opened 2 months ago

emmanuel-keller commented 2 months ago

Implements another serialisation feature: serde-lexical

This feature preserves the lexical order in the serialized form. The serialized decimal occupies a fixed 25 bytes, which is particularly useful for maintaining decimal order when stored as a key in a key-value store

Possibly fixes #610