The project structure already hinted at a library that could be built separately and linked into some executable. Turns out it was literally a few lines to change in meson.build.
Down the line, we could do unit testing using "meson test" building other binaries that link the same library.
UVEPURUQ333KDWQPCJKOXWVXAZ7JB5B2T4EO5C7PKHEM4STED7GAC