052eeb447c
Multi-Platform CI / test-platforms (ubuntu-22.04) (push) Successful in 21s
Multi-Platform CI / test-platforms (windows-latest) (push) Successful in 18s
Multi-Platform CI / Package for Linux x86_64 (push) Has been skipped
Multi-Platform CI / Package for Windows x86_64 (push) Has been skipped
Multi-Platform CI / Create GitHub Release (push) Has been skipped
42 lines
811 B
TOML
42 lines
811 B
TOML
[package]
|
|
name = "medicallib_rust"
|
|
version = "0.1.1"
|
|
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
|
|
|
|
[build-dependencies]
|
|
cbindgen = '0.26'
|
|
|