Cargo Features

[dependencies]
kiddo = { version = "5.0.3", default-features = false, features = ["csv", "modified_van_emde_boas", "f16", "global_allocate", "las", "serde", "simd", "rkyv", "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.

csv

Enables csv

modified_van_emde_boas
f16

Enables half

global_allocate
las

Enables las

serde

Enables serde_derive and serde_with, serde of aligned-vec and fixed and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

simd
rkyv

Enables rkyv ^0.7

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

tracing default

Enables tracing and tracing-subscriber

test_utils

Enables rand, rand_chacha, and rayon

Affects kiddo::test_utils