Cargo Features

[dependencies]
float_to_int = { version = "0.1.0", default-features = false, features = ["std", "half", "nightly"] }
default = std

The std feature is set by default whenever float_to_int is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional half and optional num-traits

half

Enables half and num-traits

nightly

Enables use-intrinsics of optional half

half:

Deprecated

float_to_int has 4 features without comments.