Email me

Crates / Compare / approx vs float-cmp

Rust crates side by side · data Oct 24, 2026

approx vs float-cmp

Short answerBy steady daily use, approx is bigger: 533,813 real downloads a day against 483,211 for float-cmp (1.1x). 2,697 crates depend on approx and 318 on float-cmp. approx last shipped 9 months ago, float-cmp 2.1 years ago.

approx

Widely used

Widely used and steady.

2,697 crates depend on it; no release in the last 90 days, so its count is all steady use.

Approximate floating point equality comparisons and assertions.

float-cmp

Established

Established and quiet for years.

318 crates depend on it; no release in the last 90 days, so its count is all steady use.

Floating point approximate comparison traits

approxfloat-cmp · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic

Every number, side by side

Same window, same methodapproxfloat-cmp
Real downloads a day533,813483,211
Crates that depend on it2,697318
Last release0.6.0-rc2, 9 months ago0.10.0, 2.1 years ago
Trend vs the field+9%-2%
Release-window share0.0%0.0%
Downloads in the window50,061,36843,190,559
All-time downloads185,170,316197,119,791
Versions published1324
LicenseApache-2.0MIT
MSRVnot setnot set
First publishedNov 15, 2015Jan 19, 2015

Which to pick

  • Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
  • When both fit, prefer the one more crates depend on (approx, 2,697 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: approx 9 months ago, float-cmp 2.1 years ago.

Also in this space

Method

Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.

Up next

Another comparison: Same method, same window. Foundational and steady vs widely used and steady.reqwest vs ureqRead it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ