[package]
name = "entropyk-fluids"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Fluid properties backend for Entropyk thermodynamic simulation library"

[dependencies]
entropyk-core = { path = "../core" }
thiserror.workspace = true
serde.workspace = true
serde_json = "1.0"
lru = "0.12"
entropyk-coolprop-sys = { path = "coolprop-sys", optional = true }
libloading = { version = "0.8", optional = true }

[features]
default = []
coolprop = ["entropyk-coolprop-sys"]
dll = ["libloading"]

[dev-dependencies]
approx = "0.5"
criterion = "0.5"

[[bench]]
name = "cache_10k"
harness = false
