[package]
name = "entropyk-solver"
version = "0.1.0"
edition = "2021"
authors = ["Sepehr <sepehr@entropyk.com>"]
description = "System topology and solver engine for Entropyk thermodynamic simulation"
license = "MIT OR Apache-2.0"
repository = "https://github.com/entropyk/entropyk"

[dependencies]
entropyk-components = { path = "../components" }
entropyk-core = { path = "../core" }
nalgebra = "0.33"
petgraph = "0.6"
thiserror = "1.0"
tracing = "0.1"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10"
serde_json = "1.0"
[dev-dependencies]
approx = "0.5"
serde_json = "1.0"
tracing-subscriber = "0.3"
entropyk-fluids = { path = "../fluids" }

[features]
# Enables the end-to-end emergent-pressure integration test, which needs a
# CoolProp backend (entropy + saturation) unavailable in the mock/TestBackend.
coolprop = ["entropyk-fluids/coolprop"]

[lib]
name = "entropyk_solver"
path = "src/lib.rs"
