rustio rustio.net
74

rust_decimal

v1.42.1 Stable

Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.

MIT Edition 2021 MSRV 1.67.1
Data structuresScienceMathematics #number#precision#fixed#decimal#financial

Quick Verdict

  • โœ“Actively maintained (updated 32d ago)
  • โœ“Stable API (1.x for 9+ years)
  • โœ“Massive adoption (26.9K crates depend on it)
  • !Heavy dependency tree (38 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
118.2M
Dependents
26.9K
Releases
106
Size
166KB

Deep Insights

๐Ÿ“Š
Steady growth

10.0M downloads in the last 30 days (333.4K/day), up 7% from the previous period.

๐Ÿ›๏ธ
Foundational crate

26.9K crates depend on rust_decimal โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

โš ๏ธ
Single maintainer risk

rust_decimal has only 1 owner despite 26.9K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 9+ years

The API has been stable (1.x) for over 9 years with 106 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“ฆ
Heavy dependency tree

38 direct dependencies. Consider the impact on compile times and supply chain complexity.

๐ŸŒŸ
Used by top crates

Notable dependents include schemars, pyo3, sqlx-core, sqlx-postgres, sqlx-mysql. When high-quality crates choose rust_decimal, it's a strong quality signal.

Health Breakdown

Maintenance 18/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 15/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
269K/day avg-26%
0100K200K300K400K4/265/146/16/197/77/24

Top Dependents

Version Adoption

v1.36.0
26%
v1.40.0
21%
v1.37.2
20%
v1.39.0
18%
v1.41.0
14%

Release Timeline

10 releasessince 2024
J
F
M
A
M
J
J
A
S
O
N
D
2024
1
2025
5
2026
4
Less
More

Feature Flags

default =["serde", "std"]

std*randrkyvwasmborshmathsserde*c-reprmacrosalign16ndarraybytemuckproptesttokio-pgrkyv-saferust-fuzzserde-strlegacy-opsdb-postgresserde-floatmaths-nopanicrocket-traitsserde-bincodeserde-with-strdb-diesel-mysqldb-diesel2-mysqlserde-with-floatdb-tokio-postgresdb-diesel-postgresdb-diesel2-postgresserde-arbitrary-precisionserde-with-arbitrary-precision

README

Loading README...

Maintainers

Dependencies
38
direct dependencies
Dependents
26.9K
crates depend on rust_decimal

Similar Crates