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

#804 in Math

Download history 4638/week @ 2024-08-17 4493/week @ 2024-08-24 4399/week @ 2024-08-31 4008/week @ 2024-09-07 4506/week @ 2024-09-14 3750/week @ 2024-09-21 4125/week @ 2024-09-28 3967/week @ 2024-10-05 4146/week @ 2024-10-12 3981/week @ 2024-10-19 3657/week @ 2024-10-26 3482/week @ 2024-11-02 4019/week @ 2024-11-09 3211/week @ 2024-11-16 3108/week @ 2024-11-23 2950/week @ 2024-11-30

13,893 downloads per month
Used in 10 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