Cargo Features
[dependencies]
lambert_w = { version = "1.0.4", default-features = false, features = ["libm", "std"] }
- default = libm
-
The
libm
feature is set by default wheneverlambert_w
is added without
somewhere in the dependency tree.default-features = false - libm default
-
If the
std
feature is disabled, this feature uses thelibm
crate to compute square roots and logarithms during function evaluation instead of the standard library.Enables libm
- std
-
Use the standard library to compute square roots and logarithms for a potential performance gain. When this feature is disabled the crate is
no_std
compatible.