Cargo Features
[dependencies]
kiddo = { version = "4.2.1", default-features = false, features = ["f16", "immutable", "serialize", "serialize_rkyv", "simd", "tracing", "test_utils"] }
- default = tracing
-
The
tracing
feature is set by default wheneverkiddo
is added without
somewhere in the dependency tree.default-features = false - 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.