7 releases

0.1.6 Mar 2, 2024
0.1.5 Mar 10, 2021
0.1.4 Feb 26, 2021
0.1.0 Jan 31, 2021

#678 in Math

Download history 4370/week @ 2024-06-03 3548/week @ 2024-06-10 3125/week @ 2024-06-17 3867/week @ 2024-06-24 3463/week @ 2024-07-01 3867/week @ 2024-07-08 3630/week @ 2024-07-15 4574/week @ 2024-07-22 4792/week @ 2024-07-29 4856/week @ 2024-08-05 4994/week @ 2024-08-12 4591/week @ 2024-08-19 4783/week @ 2024-08-26 4207/week @ 2024-09-02 3929/week @ 2024-09-09 4440/week @ 2024-09-16

17,469 downloads per month
Used in 11 crates (via dec)

ICU license

1MB
11K SLoC

C 10K SLoC // 0.4% comments Rust 1K SLoC // 0.0% comments

rust-dec

libdecnumber bindings for the Rust programming language.

dec crates.io

A decimal arithmetic library providing high-level, safe bindings to libdecnumber.

# Cargo.toml
[dependencies]
dec = "0.4.9"

View documentation.

decnumber-sys crates.io

Low-level bindings to libdecnumber.

# Cargo.toml
[dependencies]
decnumber-sys = "0.1.6"

View documentation.


lib.rs:

Bindings to libdecnumber.

This crate provides raw bindings to libdecnumber, an implementation of the General Decimal Arithmetic specification.

This crate bundles the latest release of libdecnumber, v3.68.

Dependencies