Skip to content

Commit 331e2b5

Browse files
authored
Update README.md
1 parent d81a9d4 commit 331e2b5

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# zstbi v0.10.0 - stb image bindings
1+
# zstbi
2+
3+
Zig bindings and build package for stb_image, stb_image_resize and stb_image_write from [Sean Barrett's stb single-file C libraries](https://github.com/nothings/stb)
24

35
## Features
46

@@ -11,12 +13,7 @@
1113

1214
## Getting started
1315

14-
Copy `zstbi` to a subdirectory of your project and add the following to your `build.zig.zon` .dependencies:
15-
```zig
16-
.zstbi = .{ .path = "libs/zstbi" },
17-
```
18-
19-
Then in your `build.zig` add:
16+
Add `zstbi` to your `build.zig.zon` .dependencies and in your `build.zig` add:
2017
```zig
2118
pub fn build(b: *std.Build) void {
2219
const exe = b.addExecutable(.{ ... });

0 commit comments

Comments
 (0)