-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (34 loc) · 925 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "toha_nearest_neighbor"
version = "0.4.0"
edition = "2021"
[lib]
name = "toha_nearest_neighbor"
crate-type = ["cdylib", "rlib"]
# pybind.rs/brute_force for some reason is interpereted as a doctest
# so we omit them all from running here
doctest = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ndarray = {version = "0.15.6", features = ["rayon"] }
rayon = "1.6.1"
pyo3 = { version = "0.18.1", features = ["extension-module"] }
numpy = "0.18"
num-traits = "0.2.15"
macros = { path = "./macros" }
[dependencies.kd-tree]
git = "https://github.com/VanillaBrooks/kd-tree"
rev = "bda83e9c112614a466ff5567f6f09af87d153396"
[dev-dependencies]
ndarray-rand = "0.14.0"
criterion = "0.4"
[[bench]]
name = "brute_force"
harness = false
[[bench]]
name = "tree"
harness = false
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"