-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (74 loc) · 2.24 KB
/
Cargo.toml
File metadata and controls
81 lines (74 loc) · 2.24 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[package]
name = "efficient_pca"
version = "0.1.8"
authors = ["Erik Garrison <erik.garrison@gmail.com>, SauersML"]
edition = "2024"
description = "Principal component computation using SVD and covariance matrix trick"
license = "MIT"
repository = "https://github.com/SauersML/efficient_pca"
readme = "README.md"
keywords = [
"pca",
"genomics",
"svd",
"bioinformatics",
"machine-learning",
]
categories = [
"algorithms",
"mathematics",
"science",
"science::bioinformatics",
"science::bioinformatics::genomics",
]
documentation = "https://github.com/SauersML/efficient_pca"
[dependencies]
bincode = { version = "2.0.1", features = ["serde"] }
bytemuck = { version = "1.23.2", features = ["derive"] }
dyn-stack = { version = "0.13.0", features = ["alloc"] }
faer = { version = "0.22.6", optional = true }
float-cmp = "0.10.0"
log = "0.4.28"
ndarray = { version = "0.16.1", features = ["serde", "rayon"] }
ndarray-linalg = { version = "0.17.0", default-features = false, optional = true }
ndarray-rand = "0.15.0"
rand = "0.8.5"
rand_chacha = "0.3.1"
rand_distr = "0.4.3"
rayon = "1.11.0"
serde = { version = "1.0.226", features = ["derive"] }
sysinfo = "0.33.1"
tempfile = "3.23.0"
jemalloc-ctl = { version = "0.5.4", optional = true }
once_cell = "1.21.3"
[lib]
name = "efficient_pca"
path = "src/lib.rs"
[dev-dependencies]
dirs = "6.0.0"
tar = "0.4.44"
zstd = "0.13.3"
criterion = { version = "0.6.0", features = ["html_reports"] }
ctor = "0.4.3"
approx = "0.5.1"
linfa = "0.7.1"
linfa-reduction = "0.7.1"
ndarray_v15 = { version = "0.15.6", package = "ndarray" }
jemallocator = "0.5"
lazy_static = "1.5.0"
serde_json = "1.0"
[features]
default = ["backend_faer"]
backend_openblas = ["dep:ndarray-linalg", "ndarray-linalg/openblas-static"]
backend_openblas_system = ["dep:ndarray-linalg", "ndarray-linalg/openblas-system"]
backend_mkl = ["dep:ndarray-linalg", "ndarray-linalg/intel-mkl-static"]
backend_mkl_system = ["dep:ndarray-linalg", "ndarray-linalg/intel-mkl-system"]
backend_faer = ["dep:faer"]
faer_links_ndarray_static_openblas = ["backend_faer", "backend_openblas"]
eigensnp = [] # Requires nightly Rust
# --- Utility Features ---
jemalloc = ["dep:jemalloc-ctl"]
enable-eigensnp-diagnostics = []
[[bench]]
name = "benchmarks"
harness = false