asg017 / sqlite-vss

A SQLite extension for efficient vector search, based on Faiss!
MIT License
1.59k stars 59 forks source link

distribution: Rust bindings #39

Open asg017 opened 1 year ago

asg017 commented 1 year ago

two options to statically include sqlite-vss into a rust app:

Inspiro:

jbeuria commented 1 year ago

@asg017

Hi, Could you please add one very simple example code for Rust? Thanks for your good work!

asg017 commented 1 year ago

@jbeuria I got bindings/rust that is are WIP bindings to sqlite-vss for Rust, and examples/rust which is an example Rust binary that uses it.

It's not complete yet: cargo test in the bindings lib works, but cargo build in the example doesn't work for me for some reason. Once I figure it out I'll push to crates.io