-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (40 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
45 lines (40 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "vjson"
version = "0.1.2"
edition = "2021"
authors = ["Amiya Mandal <amiyamandal.dev@gmail.com>"]
description = "High-performance vector database with HNSW indexing and hybrid search"
license = "MIT"
repository = "https://github.com/amiyamandal-dev/vjson"
homepage = "https://github.com/amiyamandal-dev/vjson"
keywords = ["vector", "database", "hnsw", "search", "embeddings"]
categories = ["database", "science", "algorithms"]
readme = "README.md"
[lib]
name = "vjson"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.22", features = ["extension-module", "abi3-py38"] }
serde_json = "1.0" # JSON serialization
hnsw_rs = "0.3.3" # HNSW approximate nearest neighbor
serde = { version = "1.0", features = ["derive"] }
parking_lot = "0.12" # High-performance RwLock (2-3x faster than std)
memmap2 = "0.9" # Memory-mapped file I/O
thiserror = "1.0" # Ergonomic error handling
rayon = "1.10" # Data parallelism for vector loading and hybrid search
ahash = "0.8" # Fast, DoS-resistant hashing
tantivy = "0.22" # Full-text search engine
tempfile = "3.0" # Temporary directories for tests
regex = "1.10" # Regular expression support for filters
smallvec = "1.11" # Stack-allocated vectors for small result sets
[dev-dependencies]
criterion = "0.5"
rand = "0.8"
[lints.rust]
# Allow unexpected cfg from PyO3's create_exception! macro
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(feature, values(\"gil-refs\"))"] }
[lints.clippy]
# False positive with PyO3 PyResult types
useless_conversion = "allow"
# PyO3 bindings often need many arguments
too_many_arguments = "allow"