Cargo Features

[dependencies]
kiddo = { version = "4.2.0", default-features = false, features = ["f16", "immutable", "serialize", "serialize_rkyv", "simd", "tracing", "test_utils"] }
default = tracing

The tracing feature is set by default whenever kiddo is added without default-features = false somewhere in the dependency tree.

f16 = half
global_allocate immutable
serialize = serde, serde_derive, serde_with

Enables serde of fixed and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

serialize_rkyv = rkyv

Affects kdtree::AxisRK, kdtree::KdTreeRK, kdtree::StemNodeRK, kdtree::LeafNodeRK

simd
tracing default = tracing-subscriber

Enables tracing

test_utils = rand, rand_chacha, rayon

Affects kiddo::test_utils

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rayon test_utils?
rand test_utils?
serde serialize?
half f16?
rand_chacha test_utils?
rkyv serialize_rkyv?
serde_derive serialize?
serde_with serialize?
tracing-subscriber tracing