jhawthorn/fzy

Build as a library

hkupty opened this issue · 2 comments

Hi! I'm really pleased with fzy and I've found this repo comparing a lua implementation w/ ffi to fzy. However, there's no official libfzy which I could install, meaning that I'd have to resort to distributing binaries.

Do you think it'd be possible to distribute fzy as a library?

Isn't choices.h basically a library already?
Separating it a bit more shouldn't be too hard.

I'd be up to doing it, but I'm not sure in which direction @jhawthorn wants to go with this project.

It's great that choices.h is already contained enough so it can be used as a library. However, exposing a library out of this would probably include having a lib target in Makefile as well as (possibly) distributing a lib in the release.