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 whenever ballpark is added without default-features = false somewhere in the dependency tree.

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.