# 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 = "pacmap" version = "0.2.5" authors = ["Joshua Griffith "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Pairwise Controlled Manifold Approximation (PaCMAP) for dimensionality reduction" documentation = "https://docs.rs/pacmap" readme = "README.md" keywords = [ "embedding", "dimension-reduction", "pacmap", "algorithms", ] categories = [ "science", "algorithms", "mathematics", ] license = "Apache-2.0" repository = "https://github.com/beamform/pacmap-rs" [profile.bench] opt-level = 3 lto = "fat" codegen-units = 1 [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 2 panic = "abort" [lib] name = "pacmap" path = "src/lib.rs" [[bench]] name = "knn_bench" path = "benches/knn_bench.rs" harness = false [dependencies.bon] version = "3.0" [dependencies.ndarray] version = "0.16" features = ["rayon"] [dependencies.ndarray-rand] version = "0.15" [dependencies.petal-decomposition] version = "0.8" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.rand_pcg] version = "0.3" [dependencies.rayon] version = "1.10" [dependencies.thiserror] version = "2.0" [dependencies.tracing] version = "0.1" [dependencies.usearch] version = "2.16" features = ["fp16lib"] default-features = false [dependencies.wide] version = "0.7" [dev-dependencies.approx] version = "0.5" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.mimalloc] version = "0.1" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.quickcheck_macros] version = "1.0" [features] default = [] intel-mkl-static = [ "petal-decomposition/intel-mkl-static", "ndarray/blas", ] intel-mkl-system = [ "petal-decomposition/intel-mkl-system", "ndarray/blas", ] netlib-static = [ "petal-decomposition/netlib-static", "ndarray/blas", ] netlib-system = [ "petal-decomposition/netlib-system", "ndarray/blas", ] openblas-static = [ "petal-decomposition/openblas-static", "ndarray/blas", ] openblas-system = [ "petal-decomposition/openblas-system", "ndarray/blas", ] simsimd = ["usearch/simsimd"] [lints.clippy] blocks_in_conditions = "allow" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_sign_loss = "allow" create_dir = "warn" dbg_macro = "warn" default_numeric_fallback = "warn" empty_structs_with_brackets = "warn" error_impl_error = "warn" exit = "warn" expect_used = "deny" format_push_string = "warn" if_then_some_else_none = "warn" impl_trait_in_params = "warn" many-single-char-names = "allow" missing_assert_message = "warn" module_name_repetitions = "allow" multiple_inherent_impl = "warn" mutex_atomic = "warn" needless_raw_strings = "warn" panic = "deny" print_stderr = "warn" print_stdout = "warn" rc_mutex = "warn" redundant_type_annotations = "warn" rest_pat_in_fully_bound_structs = "warn" same_name_method = "warn" self_named_module_files = "warn" semicolon_outside_block = "warn" str_to_string = "warn" string_lit_chars_any = "warn" string_to_string = "warn" struct_field_names = "allow" todo = "warn" try_err = "warn" unimplemented = "warn" unnecessary_self_imports = "warn" unneeded_field_pattern = "warn" unreachable = "warn" unwrap_used = "deny" verbose_file_reads = "warn" [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" unsafe_code = "deny"