[[bench]]
harness = false
name = "fixed"
path = "benches/fixed.rs"
[[bench]]
harness = false
name = "random"
path = "benches/random.rs"
[dependencies.libm]
optional = true
version = "0.2.9"
[dev-dependencies.approx]
default-features = false
version = "0.5.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"
[dev-dependencies.rand]
default-features = false
features = ["small_rng"]
version = "0.8.5"
[features]
default = ["libm"]
libm = ["dep:libm"]
std = []
[lib]
name = "lambert_w"
path = "src/lib.rs"
[package]
authors = ["Johanna Sörngård <jsorngard@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["mathematics", "no-std::no-alloc"]
description = "Fast and accurate evaluation of the Lambert W function by the method of T. Fukushima."
documentation = "https://docs.rs/lambert_w"
edition = "2021"
keywords = ["lambert-w", "product-log", "omega-function"]
license = "MIT OR Apache-2.0"
name = "lambert_w"
readme = "README.md"
repository = "https://github.com/JSorngard/lambert_w"
rust-version = "1.60.0"
version = "1.0.2"
[package.metadata.cargo-all-features]
always_include_features = ["libm"]
[package.metadata.docs.rs]
all-features = true
[profile.release-lto]
codegen-units = 1
incremental = false
inherits = "release"
lto = "fat"
panic = "abort"
strip = "symbols"