Compare commits
4 Commits
06523bf0ed
...
b0e28ff9cb
Author | SHA1 | Date | |
---|---|---|---|
b0e28ff9cb | |||
538c40246e | |||
2c3124598e | |||
![]() |
5e0cdc81ed |
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -21,7 +21,6 @@ jobs:
|
||||
os: ubuntu-latest
|
||||
- zig-version: "master"
|
||||
check-format: true
|
||||
build-options: "-Denable-libsodium=false"
|
||||
os: ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
@ -1,6 +1,6 @@
|
||||
.{
|
||||
.name = "nats_c",
|
||||
.version = "3.8.2",
|
||||
.version = "3.8.2+1",
|
||||
.minimum_zig_version = "0.12.0",
|
||||
.dependencies = .{
|
||||
.nats_c = .{
|
||||
@ -8,8 +8,8 @@
|
||||
.hash = "12207f10bd4b38309c79eadf22dfb3d9f134f1359dda01f9df6d9b42734ee2330b72",
|
||||
},
|
||||
.libressl = .{
|
||||
.url = "git+https://github.com/allyourcodebase/libressl.git?ref=3.9.2#a373b82991947b694196ee630bd6a648d71e2b3f",
|
||||
.hash = "1220b1536d43ed8ce79ee05c53929f90b67dd299e61dfa249fa8f476f17eee46a95f",
|
||||
.url = "git+https://github.com/allyourcodebase/libressl.git?ref=3.9.2+1#02abfefee4e4eda28ce53c637b3c0d204ace8a6d",
|
||||
.hash = "12201f5cc06c88f191696106723797449baacb6ea38b07b6cf31c18c0382a6bea33e",
|
||||
.lazy = true,
|
||||
},
|
||||
.protobuf_c = .{
|
||||
@ -18,8 +18,8 @@
|
||||
.lazy = true,
|
||||
},
|
||||
.libsodium = .{
|
||||
.url = "git+https://github.com/jedisct1/libsodium.git?ref=1.0.20-RELEASE#9511c982fb1d046470a8b42aa36556cdb7da15de",
|
||||
.hash = "1220d265dc673167ffe4a3cefe2840893d2910cfd773cfb1893ff768d5f1351d2a1f",
|
||||
.url = "git+https://github.com/jedisct1/libsodium.git?ref=stable#3c6da4b8c27c7d546746eadabc9e2dd6c1fdfc2c",
|
||||
.hash = "12207667c06c40826838b57922ec9c7f90ab2613bf317c6717d0ed2cdf6ca91df718",
|
||||
.lazy = true,
|
||||
},
|
||||
},
|
||||
|
@ -19,7 +19,7 @@ First, update your `build.zig.zon`:
|
||||
```sh
|
||||
# Initialize a `zig build` project if you haven't already
|
||||
zig init
|
||||
# replace <refname> with the version you want to use, e.g. 3.8.2
|
||||
# replace <refname> with the version you want to use, e.g. 3.8.2+1
|
||||
zig fetch --save git+https://github.com/allyourcodebase/nats.c.git#<refname>
|
||||
```
|
||||
|
||||
@ -43,15 +43,15 @@ The NATS.c library has optional dependencies:
|
||||
|
||||
- [`libressl 3.9.2`][libressl] when building with `enable-tls`
|
||||
- [`protobuf-c 1.5.0`][protobuf-c] when building with `enable-streaming`
|
||||
- [`libsodium 1.0.20`][libsodium] when building with `enable-libsodium`
|
||||
- [`libsodium stable branch`][libsodium] when building with `enable-libsodium`
|
||||
|
||||
These dependencies are currently automatically retrieved and compiled as static libraries by the Zig build system.
|
||||
|
||||
## Version Support Matrix
|
||||
|
||||
| Refname | NATS.c Version | Zig `0.12.x` | Zig `0.13.x` | Zig `0.14.0-dev` |
|
||||
|----------|----------------|--------------|--------------|------------------|
|
||||
| `3.8.2` | `3.8.2` | ✅ | ✅ | with `-Denable-libsodium=false` |
|
||||
|-----------|----------------|--------------|--------------|------------------|
|
||||
| `3.8.2+1` | `3.8.2+1` | ✅ | ✅ | ✅ |
|
||||
|
||||
[nats.c]: https://github.com/nats-io/nats.c
|
||||
[libressl]: https://github.com/allyourcodebase/libressl
|
||||
|
Loading…
x
Reference in New Issue
Block a user