-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
99 lines (80 loc) · 2.14 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "argminmax"
version = "0.6.2"
authors = ["Jeroen Van Der Donckt"]
edition = "2021"
readme = "README.md"
license = "MIT"
repository = "https://github.com/jvdd/argminmax"
description = "ArgMinMax (argmin & argmax in 1 function) with SIMD for floats and integers"
keywords = ["argminmax", "simd", "ndarray"]
categories = ["algorithms", "mathematics", "science"]
documentation = "https://docs.rs/argminmax"
exclude = [".git*", "dev_utils/**/*", "tests/**/*"]
[dependencies]
num-traits = { version = "0.2", default-features = false }
half = { version = "2.4", default-features = false, features=["num-traits"], optional = true }
ndarray = { version = "0.16.1", default-features = false, optional = true }
arrow = { version = ">0", default-features = false, optional = true }
arrow2 = { version = ">0.0", default-features = false, optional = true }
# once_cell = "1.16.0"
[features]
default = ["nightly_simd", "float"]
nightly_simd = []
float = []
half = ["dep:half"]
ndarray = ["dep:ndarray"]
arrow = ["dep:arrow"]
arrow2 = ["dep:arrow2"]
[dev-dependencies]
half = { version = "2.4", default-features = false, features=["num-traits", "rand_distr"] }
rstest = { version = "0.22", default-features = false }
rstest_reuse = { version = "0.7", default-features = false }
rand = { version = "0.8.5", default-features = false }
codspeed-criterion-compat = "2.7.2"
criterion = "0.5.1"
dev_utils = { path = "dev_utils" }
[[bench]]
name = "bench_f16_return_nan"
harness = false
required-features = ["half"]
[[bench]]
name = "bench_f16_ignore_nan"
harness = false
required-features = ["half"]
[[bench]]
name = "bench_f32_return_nan"
harness = false
[[bench]]
name = "bench_f32_ignore_nan"
harness = false
[[bench]]
name = "bench_f64_return_nan"
harness = false
[[bench]]
name = "bench_f64_ignore_nan"
harness = false
[[bench]]
name = "bench_i8"
harness = false
[[bench]]
name = "bench_i16"
harness = false
[[bench]]
name = "bench_i32"
harness = false
[[bench]]
name = "bench_i64"
harness = false
[[bench]]
name = "bench_u8"
harness = false
[[bench]]
name = "bench_u16"
harness = false
[[bench]]
name = "bench_u32"
harness = false
[[bench]]
name = "bench_u64"
harness = false