[workspace]
members = [
    "crates/components",
    "crates/core",
    "crates/fluids",
    "demo",             # Demo/test project (user experiments)
    "crates/solver",
]
resolver = "2"

[workspace.package]
version = "0.1.0"
authors = ["Sepehr <sepehr@entropyk.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/entropyk/entropyk"

[workspace.dependencies]
# Core dependencies used across crates
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }

# Internal crate dependencies
# entropyk-core = { path = "crates/core" }
# entropyk-components = { path = "crates/components" }

[profile.release]
opt-level = 3
lto = true
codegen-units = 1

[profile.dev]
opt-level = 0
debug = true
