This crate is still in beta release
This is the repo for the bool-tag-expr rust crate, which was created to improve fetching & filtering things by their tags. It facilitates parsing boolean expressions of tags into boolean expression trees that can be either transformed into SQL for selecting from a database, or evaluated against a list of entities to filter them.
To select all British and French scientists who are not biologists, one can write (british | french) & scientist & !biologist. Using the crate this can be transformed into the SQL needed to select matching entries out of a database. For complete & working examples please visit docs.rs.