After some research into ripgrep's issue tracker, I'm led to think that using the JSON API is the right way to go for now, rather than using the libripgrep when it's ready.
If, in the future, this tool migrates away from ripgrep and still performs the same function, then using libripgrep might be a good idea, but for now this is just a wrapper for ripgrep.
After some research into
ripgrep
's issue tracker, I'm led to think that using the JSON API is the right way to go for now, rather than using thelibripgrep
when it's ready.If, in the future, this tool migrates away from
ripgrep
and still performs the same function, then usinglibripgrep
might be a good idea, but for now this is just a wrapper forripgrep
.See: https://github.com/BurntSushi/ripgrep/discussions/1592