Ross ROSS = Recommend OSS · open-source software intelligence for agents

paupino/rust-decimal

Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations. observed · 2026-08-28

github.com/paupino/rust-decimal · homepage · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

91/100

  • Activity 99
  • Release rhythm 76
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 56.0
  • age_days: 3581
  • days_rel: 83
  • days_push: 8
  • n_releases_24m: 9

Full methodology

Adoption not part of the score

1329 stars · 226 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A pure Rust decimal number type providing exact fixed-precision arithmetic with a 96-bit integer mantissa, scaling factor, and sign. It is designed for financial and other calculations where floating-point round-off errors are unacceptable, with integrations for serde, Diesel, Postgres, and wasm.

Use cases

  • represent money and currency amounts without floating-point errors
  • perform exact decimal arithmetic in Rust
  • store decimal values in Postgres or MySQL via Diesel
  • serialize decimals to JSON with serde
  • run fixed-precision math in WebAssembly
  • avoid binary float rounding in billing and accounting code

When to choose

  • you need exact decimal/fractional arithmetic in Rust, especially for money
  • you want a mature, widely downloaded crate with database and serde integrations
  • you need no_std or wasm support for decimal math

When to avoid

  • you only need approximate scientific computation where f64/f32 suffices
  • you need arbitrary-precision or very large numbers beyond 96-bit mantissa
  • you are not working in Rust

Facets

library · maturity stable

math serialization fintech developer-tools rust wasm cross-platform decimal-arithmetic fixed-precision financial-calculations no-std postgres-integration diesel-integration algorithms

10 sources

Member repositories

RepositoryRoleHealth v2
paupino/rust-decimalmain91

For agents

markdown · JSON · MCP: product_card(name="paupino/rust-decimal")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem