We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14c9153 commit ab5a955Copy full SHA for ab5a955
README.md
@@ -15,10 +15,13 @@ the default `std` feature:
15
ordered-float = { version = "4.0", default-features = false }
16
```
17
18
+If you still want to have access to the `Pow` and `Float` traits, enable the `libm` feature.
19
+
20
## Optional features
21
22
The following optional features can be enabled in `Cargo.toml`:
23
24
+* `libm`: When not using the `std` feature, enable the `libm` feature of `num-traits` to still access the `Pow` and `Float` traits.
25
* `arbitrary`: Implements the `arbitrary::Arbitrary` trait.
26
* `borsh`: Adds implementations for traits provided by the `borsh` crate.
27
* `bytemuck`: Adds implementations for traits provided by the `bytemuck` crate.
0 commit comments