-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (45 loc) · 1.33 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "cardio-rs"
version = "0.1.2"
authors = ["Benjamin Gallois <[email protected]>"]
description = "A Rust library for computing heart rate variability (HRV) metrics from ECG and PPG data."
homepage = "https://github.com/bgallois/cardio-rs"
repository = "https://github.com/bgallois/cardio-rs"
documentation = "https://docs.rs/cardio-rs"
license = "MIT"
readme = "README.md"
keywords = ["HRV", "ECG", "PPG", "HR", "Variability"]
categories = [
"science",
"science::neuroscience",
"mathematics",
"no-std",
]
edition = "2024"
[features]
default = ["std"]
std = [
"arrayvec/std",
"num/std",
"approx/std",
"welch-sde",
"rand/std",
"rand_distr/std",
"polars-lazy",
"polars",
"interp",
"find_peaks",
]
[dependencies]
arrayvec = { version = "0.7.6", default-features = false }
find_peaks = { version = "0.1.5", optional = true }
interp = { version = "2.0.2", optional = true }
libm = { version = "0.2.11", default-features = false }
num = { version = "0.4.3" }
polars = { version = "0.46.0", features = ["polars-io"], optional = true }
polars-lazy = { version = "0.46.0", features = ["csv", "diff"], optional = true }
welch-sde = { version = "0.1", optional = true }
[dev-dependencies]
approx = { version = "0.5"}
rand = { version = "0.9", features = ["alloc"] }
rand_distr = { version = "0.5", features = ["alloc"] }