File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,6 @@ For sqlite, you have options depending on your target:
76
76
77
77
# Installation
78
78
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
-
85
79
Use the following ` zig fetch ` command:
86
80
87
81
```
@@ -97,27 +91,6 @@ const sqlite = b.dependency("sqlite", .{
97
91
exe.root_module.addImport("sqlite", sqlite.module("sqlite"));
98
92
```
99
93
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
-
121
94
# Usage
122
95
123
96
## Demo
You can’t perform that action at this time.
0 commit comments