This commit is contained in:
2025-09-21 02:14:44 -07:00
commit 0502c756c1
35 changed files with 1362 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
[package]
name = "medicallib_rust"
version = "0.1.0"
edition = "2021"
description = "MedicalSim core library rewrite in Rust: basic clinical calculations and types."
authors = ["MedicalSim Team"]
license = "UNLICENSED"
readme = "README.md"
[lib]
crate-type = ["rlib", "cdylib"]
[features]
default = []
serde = ["dep:serde"]
ffi = []
[dependencies]
thiserror = "1"
serde = { version = "1", features = ["derive"], optional = true }
tracing = { version = "0.1", optional = true }
[dev-dependencies]
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }
tracing-subscriber = { version = "0.3" }
[[bench]]
name = "heart"
harness = false
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[profile.dev]
opt-level = 1