~fsx/cbare

cbare is an I/O agnostic C implementation of the BARE message encoding.

ac73c3c OpenBSD 7.6 isn't available yet.

~fsx pushed to ~fsx/cbare git

3 months ago

89b401c Cleanup.

~fsx pushed to ~fsx/cbare git

3 months ago

#cbare

cbare is an I/O agnostic C implementation of the BARE message encoding.

Build status: builds.sr.ht status

#Status

Status: unstable. Currently not used very much.

Schema DSL parser and code generator are in development.

#Building

For shared and static libraries, package config, and man page:

make

You can use different compilers and linkers:

CC=cproc CCLD=gcc LDFLAGS='-fuse-ld=mold' make

Tests:

make check
./baretest && echo pass || echo fail
./utf8test && echo pass || echo fail

#Installation

make install

You can pass PREFIX or DESTDIR to make if you'd like:

mkdir ./tmp
make DESTDIR=./tmp PREFIX=/usr install

Uninstallation is similar:

make uninstall