[package] name = "spdcalc" version = "2.0.1" authors = [ "Jasper Palfree ", "Krister Shalm ", ] edition = "2021" description = "SPDCalc, the Spontaneous Parametric Downconversion Calculator" keywords = ["physics", "spdc", "spdcalc", "photonics", "quantum"] license = "MIT" homepage = "https://app.spdcalc.org" repository = "https://github.com/spdcalc/spdcalc" readme = "README.md" exclude = ["_scratchwork", "test"] [lib] crate-type = ["rlib"] [dependencies] num = "0.4" roots = "0.0.8" nalgebra = "0.33" dimensioned = { version = "0.8", features = ["serde"] } # nelder_mead = { git = "https://github.com/JD557/nelder-mead.rs" } # optimize = "0.1" # ... needs ndarray 0.11 argmin = { version = "0.10", default-features = false } ndarray = "0.15" serde = "^1.0" serde_derive = "^1.0" serde_with = "3.8" serde_json = "1.0" regex = "1.7" lazy_static = "1.4" quad-rs = "0.2" # rustfft = "6.2" quadrature = "0.1" gauss-quad = "0.2" strum = "0.26" strum_macros = "0.26" pyo3 = { version = "0.22.2", features = ["num-complex"], optional = true } meval = { version = "0.2", features = ["serde"] } deser-hjson = "2.2" rayon = "1.10" [features] default = [] wasm-bindgen = ["argmin/wasm-bindgen"] pyo3 = ["dep:pyo3"] elliptic = [] [dev-dependencies] criterion = "0.5" float-cmp = "0.9" serde_json = "1.0" textplots = "0.8" [profile.release] opt-level = 3 # Benchmarks [[bench]] name = "crystals" harness = false [[bench]] name = "heralding" harness = false [[bench]] name = "hom" harness = false