[package]
name = "ferrovec"
version = "0.3.4"
edition = "2021"
description = "A durable, incremental HNSW vector store built to compile to WebAssembly — the in-browser index that persists to OPFS and stays consistent across tabs. Also a plain native crate."
license = "MIT"
repository = "https://github.com/singhpratech/ferrovec"
homepage = "https://singhpratech.github.io/ferrovec/"
readme = "README.md"
keywords = ["hnsw", "vector-search", "embeddings", "ann", "wasm"]
categories = ["algorithms", "data-structures", "wasm"]
exclude = ["js/", "docs/", "pkg/", "PUBLISHING.md", ".github/", "*.html"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
serde = { version = "1", features = ["derive"] }
postcard = { version = "1", features = ["alloc"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
js-sys = "0.3"
serde-wasm-bindgen = "0.6"
console_error_panic_hook = "0.1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[profile.release]
opt-level = "s"
lto = true
panic = "abort"
codegen-units = 1