[package]
name = "entropyk-components"
version = "0.1.0"
edition = "2021"
authors = ["Sepehr <sepehr@entropyk.com>"]
description = "Core component trait definitions for Entropyk thermodynamic simulation library"
license = "MIT OR Apache-2.0"
repository = "https://github.com/entropyk/entropyk"

[features]
default = []
ffi = ["dep:libloading"]
http = ["dep:reqwest"]

[dependencies]
# Core types from Story 1.2
entropyk-core = { path = "../core" }

# Fluid properties backend (Story 5.1 - FluidBackend integration)
entropyk-fluids = { path = "../fluids" }

# Error handling
thiserror = "1.0"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# Structured logging
tracing = "0.1"

# External model dependencies
libloading = { version = "0.8", optional = true }
reqwest = { version = "0.12", features = ["blocking", "json"], optional = true }

[dev-dependencies]
# Floating-point assertions
approx = "0.5"

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