Crate features / fraction
Feature flags · fraction 0.17.0 · from crates.io 2026-10-24
fraction features: what each one does, and the line to copy
Short answerfraction 0.17.0 has 8 features. By default it turns on with-bigint, with-decimal, with-dynaint; add default-features = false to start from nothing. It needs Rust 1.70 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
with-approx | with-bigint | |
with-bigint | yes | num/num-bigint, num/std, num-bigint |
with-decimal | yes | nothing else (a switch the code checks) |
with-dynaint | yes | nothing else (a switch the code checks) |
with-juniper-support | juniper | |
with-postgres-support | postgres-types, byteorder, bytes | |
with-serde-support | serde, serde_derive, num/serde | |
with-unicode | 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).
MSRV history
The minimum Rust version fraction declares (rust-version), and the release that changed it:
- 0.16.0 (2026-08-09): Rust 1.70
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p fraction --precise <version>, or use resolver 3, which picks compatible versions for you.
More on fraction
Real downloads, dependents and alternatives: fraction crate data (334.7K real downloads a day, 64 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2015
Up next
Before you depend on itfraction crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?