Story 1.2: Physical Types (NewType Pattern) - Add Pressure, Temperature, Enthalpy, MassFlow types - Implement SI base units with conversion methods - Add arithmetic operations (Add, Sub, Mul, Div) - Add Display and Debug traits - Comprehensive unit tests (37 tests) - Add PSI and Fahrenheit conversions - Code review fixes applied All tests passing, clippy clean
33 lines
693 B
TOML
33 lines
693 B
TOML
[workspace]
|
|
members = [
|
|
"crates/components",
|
|
"crates/core",
|
|
# "crates/solver", # Will be added in future stories
|
|
]
|
|
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
|