[package]
edition = "2024"
name = "lineshapes"
version = "0.1.0"
authors = ["Harlan D Heilman"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast composable optical-constant models: analytic Kramers-Kronig-paired lineshape peaks (Gaussian, Lorentzian, Voigt, pseudo-Voigt) plus a continuum."
homepage = "https://als-rsoxs.github.io/lineshapes"
readme = "README.md"
keywords = [
"optics",
"x-ray",
"kramers-kronig",
"lineshape",
"voigt",
]
categories = [
"science",
"mathematics",
]
license = "BSD-3-Clause-LBNL"
repository = "https://github.com/ALS-RSOXS/lineshapes"
[features]
default = ["parallel"]
parallel = ["dep:rayon"]
[lib]
name = "lineshapes"
path = "src/lib.rs"
[[example]]
name = "microbench"
path = "examples/microbench.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[dependencies.errorfunctions]
version = "0.2"
[dependencies.num-complex]
version = "0.4"
[dependencies.rayon]
version = "1.10"
optional = true