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
[]
= "xcell-rust"
= "0.1.0"
= "2021"
# MSRV = 1.85, inherited from the gsva-rust dependency. gsva-rust declares
# rust-version 1.85 (its default faer build needs the edition2024 feature,
# stabilized in Rust 1.85), and cargo enforces a dependency's rust-version on
# every build that compiles it — so xcell-rust cannot build on an older toolchain
# even though its own code, and its lean faer-free view of gsva, otherwise could.
= "1.85"
= "GPL-3.0-or-later"
= "Pure-Rust port of xCell (Aran et al. 2017) cell-type enrichment — ssGSEA, spillover-corrected — validated for numeric parity against the R xCell package. Built on gsva-rust."
= "README.md"
= "https://github.com/sinmojito/xcell-rust"
= ["bioinformatics", "deconvolution", "xcell", "immune", "rna-seq"]
= ["science"]
# Keep the published crate lean: the dev-only benchmark drivers, examples, and
# scratch dumps are not needed by library consumers. The README links to the
# committed REPORT/JSON on GitHub (absolute URLs), so excluding them here does not
# break the rendered docs on crates.io/docs.rs.
= ["/benchmarks", "/examples", "/scratch"]
[]
= "xcell"
[]
= ["parallel"]
# `parallel` pulls in rayon to parallelize the per-sample spillover NNLS and
# forwards `gsva-rust/parallel` so the ssGSEA enrichment stage parallelizes too.
# Both axes only reorder independent per-sample work, so results stay
# bit-identical to the serial build and to R. Build `--no-default-features` for a
# serial crate whose sole dependency is gsva-rust's zero-dependency core.
= ["dep:rayon", "gsva-rust/parallel"]
[]
# xcell-rust builds on the GSVA family port (ssGSEA engine). gsva-rust is
# Artistic-2.0 (permissive), so this GPL-3 crate may depend on it cleanly. We take
# it with default features OFF: xcell uses only gsva's ssGSEA path, never plage,
# so it does not need the `faer` SVD backend (which would pull faer/gemm). The
# `parallel` feature re-enables gsva's matching `parallel` feature on top.
= { = "../gsva-rust", = "0.1", = false }
= { = "1", = true }