~fsx/cbare

cbare is an I/O agnostic C implementation of the BARE message encoding.
OpenBSD 7.6 isn't available yet.
Fix test function prototypes.

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~fsx/cbare
read/write
git@git.sr.ht:~fsx/cbare

You can also use your local clone with git send-email.

#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