rustio rustio.net
75

rust_decimal

v1.42.0 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 19d ago)
  • โœ“Stable API (1.x for 9+ years)
  • โœ“Massive adoption (24.3K crates depend on it)
  • !Heavy dependency tree (38 direct deps)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
102.0M
Dependents
24.3K
Releases
105
Size
166KB

Deep Insights

๐Ÿ“Š
Steady growth

8.0M downloads in the last 30 days (265.5K/day), up 19% from the previous period.

๐Ÿ›๏ธ
Foundational crate

24.3K 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 24.3K 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 105 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 19/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
242K/day avg+9%
0100K200K300K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v1.36.0
28%
v1.37.2
20%
v1.40.0
19%
v1.39.0
18%
v1.37.1
15%

Release Timeline

10 releasessince 2024
J
F
M
A
M
J
J
A
S
O
N
D
2024
2
2025
5
2026
3
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
24.3K
crates depend on rust_decimal

Similar Crates