-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
46 lines (39 loc) · 1.21 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
[package]
edition = "2021"
name = "kmedoids"
version = "0.5.3"
authors = ["Erich Schubert <[email protected]>", "Lars Lenssen <[email protected]>"]
description = "k-Medoids clustering with the FasterPAM algorithm"
homepage = "https://github.com/kno10/rust-kmedoids"
readme = "README.md"
keywords = ["clustering", "machine-learning", "matrix", "optimization", "algorithm"]
categories = ["science", "mathematics"]
license = "GPL-3.0-or-later"
repository = "https://github.com/kno10/rust-kmedoids"
[lib]
name = "kmedoids"
path = "src/mod.rs"
test = true
doc = true
[[example]]
name = "orlib-kmedoids"
path = "examples/orlib-kmedoids.rs"
required-features = ["ndarray", "rand", "parallel"]
[[example]]
name = "mnist-kmedoids"
path = "examples/mnist-kmedoids.rs"
required-features = ["ndarray", "rand", "parallel"]
[dependencies]
num-traits = "0.2"
ndarray = {version = "0.16", optional = true}
rand = {version = "0.8", optional = true}
rayon = {version = "1.10", optional = true}
[dev-dependencies]
ndarray = "0.16"
rand = "0.8"
byteorder = "1.5" # for mnist-kmedoids
[features]
default = ["rand", "ndarray", "parallel"]
parallel = ["rand", "ndarray", "rayon"]
# Enable additional assertions
assertions = []