Cargo Features
libm has no features set by default.
[dependencies]
libm = { version = "0.2.8", features = ["unstable", "musl-reference-tests"] }
- unstable
-
This tells the compiler to assume that a Nightly toolchain is being used and that it should activate any useful Nightly things accordingly.
- musl-reference-tests = rand
-
Generate tests which are random inputs and the outputs are calculated with musl libc.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- rand build musl-reference-tests?
-
Enables rand ^0.6.5