sqlite-vss icon indicating copy to clipboard operation
sqlite-vss copied to clipboard

distribution: Rust bindings

Open asg017 opened this issue 2 years ago • 2 comments

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-vss feature is enabled
  • Make authors define a LIBSQLITE_VSS variables that points to a build

Inspiro:

asg017 avatar May 23 '23 00:05 asg017

@asg017

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

jbeuria avatar May 26 '23 10:05 jbeuria

@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

asg017 avatar May 27 '23 01:05 asg017