init
This commit is contained in:
+37
@@ -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
|
||||
Reference in New Issue
Block a user