Open asg017 opened 1 year ago
@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
two options to statically include sqlite-vss into a rust app:
download-sqlite-vss
feature is enabledLIBSQLITE_VSS
variables that points to a buildInspiro:
tch-rs
: where thetorch-sys
crate has adownload-libtorch
feature which uses ureq to download pre-compiled binaries