-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
65 lines (59 loc) · 2.03 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
version = "1.0.6"
name = "bed-reader"
description = "Read and write the PLINK BED format, simply and efficiently."
repository = "https://github.com/fastlmm/bed-reader"
readme = "README-rust.md"
documentation = "https://docs.rs/bed-reader/latest/bed_reader/"
authors = ["FaST-LMM Team <[email protected]>"]
license = "Apache-2.0" # toml-ignore
keywords = ["bioinformatics", "plink", "genomics", "genotype", "snps"]
categories = ["science"]
edition = "2021"
homepage = "https://fastlmm.github.io/"
exclude = [
"**/tests/data/*",
"doc/*",
"docs/*",
"target/*",
"**/target/debug/*",
"**/_static/fonts/*",
"**/_static/css/*",
]
[lib]
name = "bed_reader"
crate-type = ["cdylib", "rlib"]
# https://github.com/PyO3/pyo3/discussions/2271
# https://pyo3.rs/latest/faq.html#i-cant-run-cargo-test-or-i-cant-build-in-a-cargo-workspace-im-having-linker-issues-like-symbol-not-found-or-undefined-reference-to-_pyexc_systemerror
[features]
default = ["tokio"]
tokio = ["dep:tokio"]
extension-module = ["pyo3/extension-module", "tokio"]
[dependencies]
thiserror = "1.0.66"
num-traits = "0.2.19"
ndarray-npy = { version = "0.9.1", default-features = false }
rayon = "1.10.0"
numpy = "0.22.1"
ndarray = { version = "0.16.1", features = ["approx", "rayon"] }
statrs = "0.17.1"
byteorder = { version = "1.5.0", default-features = false }
dpc-pariter = "0.4.0" # // pariter = "0.5.1"
derive_builder = "0.20.2"
anyinput = { version = "0.1.8", features = ["ndarray"] }
fetch-data = "0.2.0"
futures-util = { version = "0.3.31" }
bytecount = { version = "0.6.8" }
itertools = { version = "0.13.0" }
bytes = { version = "1.8.0" }
cloud-file = { version = "0.2.0" }
pyo3 = { version = "0.22.5", features = ["extension-module"], optional = true }
tokio = { version = "1.41.0", features = ["full"], optional = true }
[dev-dependencies]
ndarray-rand = "0.15.0"
anyhow = "1.0.92"
rusoto_credential = "0.48.0"
temp_testdir = "0.2.3"
thousands = "0.2.0"
[build-dependencies]
pyo3-build-config = "0.22.5"