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

#785 in Math

Download history 3929/week @ 2024-09-09 4541/week @ 2024-09-16 3715/week @ 2024-09-23 4067/week @ 2024-09-30 3900/week @ 2024-10-07 4418/week @ 2024-10-14 3777/week @ 2024-10-21 3783/week @ 2024-10-28 3389/week @ 2024-11-04 4081/week @ 2024-11-11 3258/week @ 2024-11-18 2985/week @ 2024-11-25 3325/week @ 2024-12-02 3041/week @ 2024-12-09 2968/week @ 2024-12-16 1520/week @ 2024-12-23

10,995 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