Skip to content

Commit f74ef30

Browse files
committed
Add: Vector Search Rust example
1 parent 141985a commit f74ef30

File tree

3 files changed

+407
-2
lines changed

3 files changed

+407
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"topo",
3636
"TSAN",
3737
"Vardanian",
38+
"vecs",
3839
"WFET"
3940
],
4041
"files.associations": {

Cargo.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ name = "fork_union"
1212
path = "rust/lib.rs"
1313

1414
[build-dependencies]
15-
cc = "1.2.27"
15+
cc = "1.2.29"
1616

1717
[features]
1818
default = ["std"]
@@ -30,7 +30,14 @@ path = "scripts/nbody.rs"
3030
test = false
3131
bench = false
3232

33+
[[example]]
34+
name = "search"
35+
path = "scripts/search.rs"
36+
test = false
37+
bench = false
38+
3339
[dev-dependencies]
3440
rayon = "1.10"
3541
rand = "0.9"
36-
tokio = { version = "1.45", features = ["rt-multi-thread", "sync"] }
42+
tokio = { version = "1.46.1", features = ["rt-multi-thread", "sync"] }
43+
simsimd = "6.4.10"

0 commit comments

Comments
 (0)