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