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

#881 in Math

Download history 1201/week @ 2025-08-15 1285/week @ 2025-08-22 1091/week @ 2025-08-29 1260/week @ 2025-09-05 1471/week @ 2025-09-12 1405/week @ 2025-09-19 4048/week @ 2025-09-26 1164/week @ 2025-10-03 1200/week @ 2025-10-10 1319/week @ 2025-10-17 1455/week @ 2025-10-24 1230/week @ 2025-10-31 4009/week @ 2025-11-07 1169/week @ 2025-11-14 4759/week @ 2025-11-21 1135/week @ 2025-11-28

11,448 downloads per month
Used in 8 crates (via dec)

ICU license

1MB
11K SLoC

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

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.


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.

Dependencies