Cargo Features

[dependencies]
dashu = { version = "0.4.2", default-features = false, features = ["std", "serde", "num-order", "zeroize", "rand", "rand_v08", "num-traits", "num-traits_v02", "decimal-extras"] }
default = num-order, std

These default features are set whenever dashu is added without default-features = false somewhere in the dependency tree.

std default

Enables std of dashu-base, dashu-float, dashu-int, and dashu-ratio

dashu-base:

all crates under dashu will have the same major version,
but the minor and patch versions can be different.

serde

stable features

Enables serde of dashu-float, dashu-int, and dashu-ratio

num-order default

Enables num-order of dashu-float, dashu-int, and dashu-ratio

zeroize

Enables zeroize of dashu-float, dashu-int, and dashu-ratio

rand

unstable features

Enables rand of dashu-float, dashu-int, and dashu-ratio

rand_v08

Enables rand_v08 of dashu-float, dashu-int, and dashu-ratio

num-traits

Enables num-traits of dashu-float, dashu-int, and dashu-ratio

dashu-float:

unstable dependencies

num-traits_v02

Enables num-traits_v02 of dashu-float, dashu-int, and dashu-ratio

decimal-extras

this feature enables all related features related to decimal crates.

Enables diesel and postgres-types of dashu-float