# 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 = "hnsw_rs" version = "0.3.0" authors = ["jeanpierre.both@gmail.com"] description = "Ann based on Hierarchical Navigable Small World Graphs from Yu.A. Malkov and D.A Yashunin" documentation = "https://docs.rs/hnsw_rs" readme = "README.md" keywords = [ "algorithms", "ann", "hnsw", ] license = "MIT/Apache-2.0" repository = "https://github.com/jean-pierreBoth/hnswlib-rs" [profile.release] opt-level = 3 lto = true [lib] path = "src/lib.rs" [[example]] name = "random" path = "examples/random.rs" [[example]] name = "ann-glove" path = "examples/ann-glove25-angular.rs" [[example]] name = "ann-mnist" path = "examples/ann-mnist-784-euclidean.rs" [[example]] name = "ann-sift1m" path = "examples/ann-sift1m-128-euclidean.rs" [[example]] name = "levenshtein" path = "examples/levensthein.rs" [dependencies.anndists] version = "0.1.2" [dependencies.anyhow] version = "1.0" [dependencies.bincode] version = "1.3" [dependencies.cfg-if] version = "1.0" [dependencies.cpu-time] version = "1.0" [dependencies.env_logger] version = "0.10" [dependencies.hashbrown] version = "0.14" [dependencies.indexmap] version = "2.2" [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.mmap-rs] version = "0.6" [dependencies.num-traits] version = "0.2" [dependencies.num_cpus] version = "1.16" [dependencies.parking_lot] version = "0.12" [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1.10" [dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.hdf5] version = "0.8" [dev-dependencies.ndarray] version = "0.15" [dev-dependencies.skiplist] version = "0.5" [features] default = [] simdeez_f = ["anndists/simdeez_f"] stdsimd = ["anndists/stdsimd"]