Crate features / float-cmp
Feature flags · float-cmp 0.10.0 · from crates.io 2026-10-24
float-cmp features: what each one does, and the line to copy
Short answerfloat-cmp 0.10.0 has 2 features. By default it turns on ratio; add default-features = false to start from nothing.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
ratio | yes | num-traits |
std | nothing else (a switch the code checks) |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
More on float-cmp
Real downloads, dependents and alternatives: float-cmp crate data (483.2K real downloads a day, 318 dependents).
docs.rs feature list · crates.io · license MIT · edition 2018
Up next
Before you depend on itfloat-cmp crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?