twine-models 0.2.2

Domain-specific models and model-building tools for Twine
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "twine-models"
version = "0.2.2"
authors = ["Isentropic Development <info@isentropic.dev>"]
build = "build.rs"
exclude = ["vendor/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Domain-specific models and model-building tools for Twine"
readme = "README.md"
license = "MIT"
repository = "https://github.com/isentropic-dev/twine-models"

[features]
coolprop-dylib = [
    "dep:coolprop-sys-linux-x86-64",
    "dep:coolprop-sys-macos-aarch64",
    "dep:coolprop-sys-macos-x86-64",
    "dep:coolprop-sys-windows-aarch64",
    "dep:coolprop-sys-windows-x86-64",
]
coolprop-static = ["dep:cmake"]
default = []

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

[[example]]
name = "stratified_tank"
path = "examples/stratified_tank.rs"

[[test]]
name = "coolprop_wasm"
path = "tests/coolprop_wasm.rs"

[dependencies.num-traits]
version = "0.2"

[dependencies.thiserror]
version = "2.0"

[dependencies.twine-core]
version = "0.5"

[dependencies.twine-solvers]
version = "0.5"

[dependencies.uom]
version = "0.36"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.jiff]
version = "0.2"

[build-dependencies.cmake]
version = "0.1"
optional = true

[target.'cfg(all(target_os = "linux", target_arch = "x86_64"))'.dependencies.coolprop-sys-linux-x86-64]
version = "7.2.0"
optional = true

[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.coolprop-sys-macos-aarch64]
version = "7.2.0"
optional = true

[target.'cfg(all(target_os = "macos", target_arch = "x86_64"))'.dependencies.coolprop-sys-macos-x86-64]
version = "7.2.0"
optional = true

[target.'cfg(all(target_os = "windows", target_arch = "aarch64"))'.dependencies.coolprop-sys-windows-aarch64]
version = "7.2.0"
optional = true

[target.'cfg(all(target_os = "windows", target_arch = "x86_64"))'.dependencies.coolprop-sys-windows-x86-64]
version = "7.2.0"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.twine-observers]
version = "0.5"
features = ["plot"]

[lints.clippy]
mod_module_files = "deny"