| Crates.io | bool-tag-expr |
| lib.rs | bool-tag-expr |
| version | 0.1.0-beta.1 |
| created_at | 2025-12-03 17:27:17.92533+00 |
| updated_at | 2025-12-03 17:27:17.92533+00 |
| description | Parse boolean expressions of tags for filtering and selecting |
| homepage | https://github.com/harryhudson/bool-tag-expr |
| repository | https://github.com/harryhudson/bool-tag-expr |
| max_upload_size | |
| id | 1964651 |
| size | 77,636 |
bool-tag-exprThis 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.