fixup rust bindings

This commit is contained in:
Alex Garcia 2024-05-10 21:13:18 -07:00
parent a6495e1e9a
commit 38e41c62eb
5 changed files with 36 additions and 14 deletions

14
bindings/rust/Makefile Normal file
View file

@ -0,0 +1,14 @@
VERSION=$(shell cat ../../VERSION)
deps: Cargo.toml sqlite-vec.c sqlite-vec.h
Cargo.toml: ../../VERSION Cargo.toml.tmpl
VERSION=$(VERSION) envsubst < Cargo.toml.tmpl > $@
sqlite-vec.c: ../../sqlite-vec.c
cp $< $@
sqlite-vec.h: ../../sqlite-vec.h
cp $< $@
.PHONY: deps