[package]
name = "optionstratlib-math"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
description = "Generic curves, surfaces, interpolation and geometry of OptionStratLib, on Decimal coordinates. Re-exported by the optionstratlib facade under its `math` feature."
readme = "README.md"
keywords = ["finance", "curves", "interpolation", "decimal"]
categories = ["finance", "mathematics"]
include = ["/src/**/*", "/Cargo.toml", "/README.md", "/LICENSE"]
[features]
default = []
schema = ["dep:utoipa", "optionstratlib-core/schema"]
[package.metadata.docs.rs]
features = ["schema"]
[dependencies]
optionstratlib-core = { workspace = true }
itertools = { workspace = true }
num-traits = { workspace = true }
rand = { workspace = true }
rayon = { workspace = true }
rust_decimal = { workspace = true }
rust_decimal_macros = { workspace = true }
serde = { workspace = true }
statrs = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
utoipa = { workspace = true, optional = true }
[dev-dependencies]
serde_json = { workspace = true }
approx = { workspace = true }
proptest = { workspace = true }
criterion = { workspace = true }
[[bench]]
name = "math"
harness = false