blob: b4b81a2021eb63dba7948548836e18c06e80e20f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# NKeys support for Zig
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![CI](https://github.com/rutgerbrf/zig-nkeys/actions/workflows/main.yml/badge.svg)](https://github.com/rutgerbrf/zig-nkeys/actions/workflows/main.yml)
Still a work in progress, things will definitely change!
Contains a tool called `znk` which is a clone of the [`nk` tool](https://github.com/nats-io/nkeys/tree/master/nk).
## Building
Zig master works at the time of writing.
Use `zig build` to build the library.
Use `zig build znk` to build the `znk` tool.
The `znk` tool can be run by using `zig build znk-run`.
Tests for the library can be run by using `zig build test`.
Tests for the `znk` tool can be run by using `zig build znk-test`.
|