# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "kiddo" version = "4.2.1" authors = ["Scott Donnelly "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A high-performance, flexible, ergonomic k-d tree library. Ideal for geo- and astro- nearest-neighbour and k-nearest-neighbor queries" documentation = "https://docs.rs/kiddo" readme = "README.md" keywords = [ "kd-tree", "kdtree", "kd", "nearest-neighbor", "knn", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sdd/kiddo" resolver = "2" [package.metadata.docs.rs] all-features = true [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 2 [profile.release] lto = true codegen-units = 1 debug = 2 [lib] name = "kiddo" path = "src/lib.rs" [[example]] name = "avx2-check" path = "examples/avx2-check.rs" [[example]] name = "build-float-doctest-tree" path = "examples/build-float-doctest-tree.rs" required-features = ["serialize_rkyv"] [[example]] name = "build-immutable-doctest-tree" path = "examples/build-immutable-doctest-tree.rs" required-features = ["serialize_rkyv"] [[example]] name = "check-select-nth-unstable" path = "examples/check-select-nth-unstable.rs" [[example]] name = "cities" path = "examples/cities.rs" [[example]] name = "half" path = "examples/half.rs" [[example]] name = "immutable-large" path = "examples/immutable-large.rs" required-features = ["test_utils"] [[example]] name = "immutable-rkyv-deserialize" path = "examples/immutable-rkyv-deserialize.rs" required-features = ["serialize_rkyv"] [[example]] name = "immutable-rkyv-serialize" path = "examples/immutable-rkyv-serialize.rs" required-features = ["serialize_rkyv"] [[example]] name = "rkyv" path = "examples/rkyv.rs" required-features = ["serialize_rkyv"] [[example]] name = "rkyv-large-deserialize" path = "examples/rkyv-large-deserialize.rs" required-features = ["serialize_rkyv"] [[example]] name = "rkyv-large-serialize" path = "examples/rkyv-large-serialize.rs" required-features = ["serialize_rkyv"] [[example]] name = "serde" path = "examples/serde.rs" required-features = ["serialize"] [[example]] name = "simd_leaf" path = "examples/simd_leaf.rs" required-features = ["test_utils"] [[bench]] name = "add_points" path = "benches/add_points.rs" harness = false required-features = ["test_utils"] [[bench]] name = "best_n" path = "benches/best_n.rs" harness = false required-features = ["test_utils"] [[bench]] name = "nearest_n" path = "benches/nearest_n.rs" harness = false required-features = ["test_utils"] [[bench]] name = "nearest_one" path = "benches/nearest_one.rs" harness = false required-features = ["test_utils"] [[bench]] name = "nearest_one_immutable" path = "benches/nearest_one_immutable.rs" harness = false required-features = ["test_utils"] [[bench]] name = "within" path = "benches/within.rs" harness = false required-features = ["test_utils"] [[bench]] name = "within_unsorted" path = "benches/within_unsorted.rs" harness = false required-features = ["test_utils"] [dependencies.az] version = "1" [dependencies.divrem] version = "1" [dependencies.doc-comment] version = "0.3" [dependencies.elapsed] version = "0.1" [dependencies.fixed] version = "1" features = ["num-traits"] [dependencies.half] version = "2.3" features = ["num-traits"] optional = true [dependencies.init_with] version = "1" [dependencies.itertools] version = "0.13" [dependencies.log] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.ordered-float] version = "4" [dependencies.rand] version = "0.8" optional = true [dependencies.rand_chacha] version = "0.3" optional = true [dependencies.rayon] version = "1" optional = true [dependencies.rkyv] version = "0.7" features = [ "alloc", "copy_unsafe", "size_64", ] optional = true default-features = false [dependencies.serde] version = "1" optional = true [dependencies.serde_derive] version = "1" optional = true [dependencies.serde_with] version = "3" optional = true [dependencies.sorted-vec] version = "0.8" [dependencies.tracing] version = "0.1" optional = true [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.ubyte] version = "0.10" [dev-dependencies.bincode] version = "1.3" [dev-dependencies.codspeed-criterion-compat] version = "2" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.csv] version = "1" [dev-dependencies.flate2] version = "1" features = ["zlib-ng-compat"] default-features = false [dev-dependencies.log] version = "0.4" [dev-dependencies.memmap] version = "0.7" [dev-dependencies.proc-macro2] version = "1" features = [ "default", "proc-macro", ] [dev-dependencies.radians] version = "0.3" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_distr] version = "0.4" [dev-dependencies.rayon] version = "1" [dev-dependencies.serde] version = "1" features = [ "derive", "rc", ] [dev-dependencies.serde_json] version = "1.0" [features] default = ["tracing"] f16 = ["half"] global_allocate = [] immutable = [] serialize = [ "serde", "serde/derive", "serde_derive", "serde_with", "fixed/serde", ] serialize_rkyv = ["rkyv"] simd = [] test_utils = [ "rand", "rand_chacha", "rayon", ] tracing = [ "dep:tracing", "tracing-subscriber", ] [target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies.generator] version = "0.8.1"