-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
51 lines (43 loc) · 1.17 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
[package]
name = "barnes_hut"
authors = ["Christopher Hecker"]
description = "Implementation of the Barnes-Hut algorithm"
license = "MIT"
version = "0.1.0"
edition = "2021"
[features]
randomization = ["rand", "rand_distr"]
simd = ["simba"]
visualization = ["color-eyre", "blue_engine"]
[dependencies]
blue_engine = { version = "0.6.2", optional = true }
color-eyre = { version = "0.6.3", optional = true }
nalgebra = "0.33.2"
rand = { version = "0.8.5", optional = true }
rand_distr = { version = "0.4.3", optional = true }
rayon = { version = "1.10.0", optional = true }
simba = { version = "0.9.0", optional = true }
[dev-dependencies]
approx = "0.5.1"
criterion = "0.5.1"
nalgebra = { version = "0.33.2", features = ["rand"] }
barnes_hut = { path = ".", features = [
"randomization",
"rayon",
"simd",
"visualization",
] }
[profile.dev]
opt-level = 3
[[example]]
name = "gravity"
[[example]]
name = "visualize_random"
required-features = ["randomization", "visualization"]
[[example]]
name = "visualize_central_body"
required-features = ["randomization", "visualization"]
[[bench]]
name = "benchmark"
required-features = ["randomization", "rayon", "simd"]
harness = false