-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
25 lines (20 loc) · 694 Bytes
/
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
[package]
name = "cupcl"
version = "0.1.0"
edition = "2021"
[dependencies]
ndarray = { version = "0", optional = true }
rustc-hash = { version = "1.1", optional = true }
rayon = { version = "1.10.0", optional = true }
petal-clustering = { version = "0.8.0", optional = true }
petal-neighbors = { version = "0.10.0", optional = true }
[dev-dependencies]
rand = "0.8"
[build-dependencies]
bindgen = { version = "0", optional = true }
cmake = { version = "0", optional = true }
cc = { version = "1", optional = true }
[features]
cuda = ["dep:cc", "dep:cmake", "dep:bindgen"]
cpu = ["dep:ndarray", "dep:rustc-hash", "dep:petal-clustering", "dep:petal-neighbors", "dep:rayon"]
default = ["cpu"]