From 372e76c4558f1f38e4ed13f59143b8b2ec60b02b Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sun, 8 Dec 2024 14:58:22 +0100 Subject: readme: stop recommending zigmod `zig fetch` works well enough --- README.md | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/README.md b/README.md index e57348a..13e1fc8 100644 --- a/README.md +++ b/README.md @@ -76,12 +76,6 @@ For sqlite, you have options depending on your target: # Installation -There are three main ways to include `zig-sqlite` in your project: -* using zig's official package manager -* using the [zigmod](https://github.com/nektro/zigmod) package manager - -## Official package manager - Use the following `zig fetch` command: ``` @@ -97,27 +91,6 @@ const sqlite = b.dependency("sqlite", .{ exe.root_module.addImport("sqlite", sqlite.module("sqlite")); ``` -## zigmod - -Add this to your `zig.mod` file: -``` -dependencies: - - src: git https://github.com/vrischmann/zig-sqlite branch-master -``` - -Note that if you're building an executable and not a library you should use `dev_dependencies` instead. - -Next run `zigmod fetch`; it should create a `deps.zig` file. - -Now in your `build.zig` you can access the package like this: -```zig -const deps = @import("deps.zig"); -... -deps.addAllTo(exe); -``` - -This is the easiest way to add `zig-sqlite` because it uses the bundled source code, avoiding all sorts of linking problems. - # Usage ## Demo -- cgit v1.2.3