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

#771 in Math

Download history 4957/week @ 2024-07-24 4630/week @ 2024-07-31 5103/week @ 2024-08-07 4759/week @ 2024-08-14 4604/week @ 2024-08-21 4385/week @ 2024-08-28 4446/week @ 2024-09-04 4388/week @ 2024-09-11 4047/week @ 2024-09-18 3561/week @ 2024-09-25 4181/week @ 2024-10-02 4086/week @ 2024-10-09 4345/week @ 2024-10-16 3768/week @ 2024-10-23 3602/week @ 2024-10-30 3630/week @ 2024-11-06

16,300 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