Skip to content

Commit 1f6ab9e

Browse files
committed
Release 0.18
1 parent 360b7b7 commit 1f6ab9e

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ Provides a package to be used by the zig package manager for C programs.
66

77
For now the hard-coded config assumes linux.
88

9+
| Refname | json-c version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |
10+
|---------|------------------------|--------------|--------------|------------------|
11+
| `0.17` | `json-c-0.17-20230812` ||||
12+
| `0.18` | `json-c-0.18-20240915` ||||
13+
14+
915
## Use
1016

1117
Add the dependency in your `build.zig.zon` by running the following command:
1218
```bash
13-
zig fetch --save git+https://github.com/allyourcodebase/json-c#0.17
19+
zig fetch --save git+https://github.com/allyourcodebase/json-c#0.18
1420
```
1521

1622
Then, in your `build.zig`:

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const std = @import("std");
22

3-
const version = .{ .major = 0, .minor = 17 };
3+
const version = .{ .major = 0, .minor = 18 };
44

55
pub fn build(b: *std.Build) !void {
66
const target = b.standardTargetOptions(.{});

build.zig.zon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.{
22
.name = "json-c",
3-
.version = "0.17.0",
3+
.version = "0.18.0",
44
.minimum_zig_version = "0.12.0",
55
.dependencies = .{
66
.upstream = .{
7-
.url = "git+https://github.com/json-c/json-c?ref=json-c-0.17-20230812#b4c371fa0cbc4dcbaccc359ce9e957a22988fb34",
8-
.hash = "1220aa451031c0f1e2deedd83bb86eb1d5394bfe83c2ab9ce1a85a1bf0ed4d632586",
7+
.url = "git+https://github.com/json-c/json-c?ref=json-c-0.18-20240915#41a55cfcedb54d9c1874f2f0eb07b504091d7e37",
8+
.hash = "12208b714ab345c47972d351d67d6dc000d752256fa2f121665842df31d0fb4ac13f",
99
},
1010
},
1111
.paths = .{

0 commit comments

Comments
 (0)