[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.3.1", default-features = false, features=["num-traits"], optional = true }
ndarray = { version = "0.15.6", default-features = false, optional = true }
arrow = { version = ">0", default-features = false, optional = true }
arrow2 = { version = ">0.0", default-features = false, optional = true }
[features]
default = ["nightly_simd", "float"]
nightly_simd = []
float = []
half = ["dep:half"]
ndarray = ["dep:ndarray"]
arrow = ["dep:arrow"]
arrow2 = ["dep:arrow2"]
[dev-dependencies]
rstest = { version = "0.18.2", default-features = false }
rstest_reuse = { version = "0.6", default-features = false }
rand = { version = "0.8.5", default-features = false }
codspeed-criterion-compat = "2.3.3"
criterion = "0.5.1"
dev_utils = { path = "dev_utils" }
[dev-dependencies.half]
features = ["rand_distr"]
[[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