Skip to content

Commit 372e76c

Browse files
committed
readme: stop recommending zigmod
`zig fetch` works well enough
1 parent 318f949 commit 372e76c

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ For sqlite, you have options depending on your target:
7676

7777
# Installation
7878

79-
There are three main ways to include `zig-sqlite` in your project:
80-
* using zig's official package manager
81-
* using the [zigmod](https://github.com/nektro/zigmod) package manager
82-
83-
## Official package manager
84-
8579
Use the following `zig fetch` command:
8680

8781
```
@@ -97,27 +91,6 @@ const sqlite = b.dependency("sqlite", .{
9791
exe.root_module.addImport("sqlite", sqlite.module("sqlite"));
9892
```
9993

100-
## zigmod
101-
102-
Add this to your `zig.mod` file:
103-
```
104-
dependencies:
105-
- src: git https://github.com/vrischmann/zig-sqlite branch-master
106-
```
107-
108-
Note that if you're building an executable and not a library you should use `dev_dependencies` instead.
109-
110-
Next run `zigmod fetch`; it should create a `deps.zig` file.
111-
112-
Now in your `build.zig` you can access the package like this:
113-
```zig
114-
const deps = @import("deps.zig");
115-
...
116-
deps.addAllTo(exe);
117-
```
118-
119-
This is the easiest way to add `zig-sqlite` because it uses the bundled source code, avoiding all sorts of linking problems.
120-
12194
# Usage
12295

12396
## Demo

0 commit comments

Comments
 (0)