sqlite-vss
sqlite-vss copied to clipboard
distribution: Rust bindings
two options to statically include sqlite-vss into a rust app:
- Automatically download the correct pre-compiled static files at build-time, if the
download-sqlite-vssfeature is enabled - Make authors define a
LIBSQLITE_VSSvariables that points to a build
Inspiro:
tch-rs: where thetorch-syscrate has adownload-libtorchfeature which uses ureq to download pre-compiled binaries
@asg017
Hi, Could you please add one very simple example code for Rust? Thanks for your good work!
@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