Skip to content

zpplibs/zpp-crc32c

Repository files navigation

zpp-crc32c

crc32c lib for zig

Usage

const crc32c = @import("zpp-crc32c");

const hello_checksum = crc32c.value("hello");

// extend
const helloworld_checksum =  crc32c.extend(hello_checksum, "world");

Building

Fetch deps

git submodule update --init

Build

./build.sh

Run

./build.sh run -- hello world
./build.sh run-c -- hello world

Run the tests

./test.sh

Dist (cross-compilation)

./build.sh dist

Release

./build.sh dist VERSION GITHUB_TOKEN

Clean

./build.sh clean

Tag

./build.sh tag v$VERSION