~fsx/cbare

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

ce5365c Add missing bool header.

~fsx pushed to ~fsx/cbare git

3 months ago

e4b02ba Work on lexer.

~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