[package]
edition = "2024"
rust-version = "1.89"
name = "ushma"
version = "1.1.0"
build = false
exclude = [
".claude/",
".github/",
"docs/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Thermodynamics simulation — heat transfer, entropy, equations of state, thermal properties"
homepage = "https://github.com/MacCracken/ushma"
documentation = "https://docs.rs/ushma"
readme = "README.md"
keywords = [
"thermodynamics",
"physics",
"heat-transfer",
"simulation",
"entropy",
]
categories = [
"science",
"simulation",
]
license = "GPL-3.0-only"
repository = "https://github.com/MacCracken/ushma"
[features]
ai = [
"dep:reqwest",
"dep:tokio",
"dep:serde_json",
]
chem = [
"state",
"entropy",
]
cycle = [
"state",
"entropy",
]
default = [
"transfer",
"state",
"entropy",
"material",
"phase",
"cycle",
"numerical",
"chem",
"stat",
]
entropy = ["state"]
full = [
"transfer",
"state",
"entropy",
"material",
"phase",
"steam",
"cycle",
"numerical",
"chem",
"stat",
"ai",
"logging",
]
logging = ["dep:tracing-subscriber"]
material = []
numerical = ["transfer"]
phase = ["state"]
stat = [
"state",
"transfer",
]
state = []
steam = ["phase"]
transfer = []
[lib]
name = "ushma"
path = "src/lib.rs"
[[example]]
name = "basic_thermo"
path = "examples/basic_thermo.rs"
required-features = [
"transfer",
"state",
"material",
]
[[example]]
name = "building_thermal"
path = "examples/building_thermal.rs"
required-features = [
"transfer",
"material",
"numerical",
]
[[example]]
name = "cooling_system"
path = "examples/cooling_system.rs"
required-features = [
"transfer",
"material",
]
[[example]]
name = "heat_engine"
path = "examples/heat_engine.rs"
required-features = [
"cycle",
"state",
"entropy",
]
[[example]]
name = "phase_change"
path = "examples/phase_change.rs"
required-features = [
"phase",
"transfer",
]
[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = [
"transfer",
"state",
"entropy",
"material",
"phase",
"steam",
"cycle",
"numerical",
"chem",
"stat",
]
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
required-features = [
"transfer",
"state",
"entropy",
"material",
"phase",
"steam",
"cycle",
"numerical",
"chem",
"stat",
]
[dependencies.hisab]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.serde_json]
version = "1"