Cargo Features
[dependencies]
ballpark = { version = "0.1.0", default-features = false, features = ["std", "alloc", "f16", "f128"] }
- default = std
-
The
std
feature is set by default wheneverballpark
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
When enabled, implements
ApproxEq
for some types in libstd. - alloc std
-
When enabled, implements
ApproxEq
for many data structures in liballoc. - f16
-
UNSTABLE: Support for Rust's
f16
half float type. Requires a nightly compiler. - f128
-
UNSTABLE: Support for Rust's
f128
quad precision type. Requires a nightly compiler.