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

#743 in Math

Download history 3347/week @ 2024-07-03 3942/week @ 2024-07-10 3510/week @ 2024-07-17 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 4316/week @ 2024-10-16

16,839 downloads per month
Used in 12 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