Cargo Features

[dependencies]
lambert_w = { version = "1.0.0", default-features = false, features = ["libm", "std"] }
default = libm

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

libm default

If the std feature is disabled, this feature uses the libm 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.