From 61ae4927d7658a6727b23ebc97a0a095a3f31bf1 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sun, 17 Sep 2023 23:44:24 +0200 Subject: readme: clarify how to use the official package manager --- README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 375cf1c..40c8d0c 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,9 @@ Add this as one of the `.dependencies` inside your `build.zig.zon` file: }, ``` +This tells zig to fetch zig-sqlite from a tarball provided by GitHub. Make sure to replace the `COMMIT` part with an actual commit SHA in long form, like `219faa2a5cd5a268a865a1100e92805df4b84610`. +Every time you want to update zig-sqlite you'll have to update this commit. + Now in your `build.zig` you can access the module like this: ```zig const sqlite = b.dependency("sqlite", .{ -- cgit v1.2.3