bool-tag-expr

Crates.iobool-tag-expr
lib.rsbool-tag-expr
version0.1.0-beta.1
created_at2025-12-03 17:27:17.92533+00
updated_at2025-12-03 17:27:17.92533+00
descriptionParse boolean expressions of tags for filtering and selecting
homepagehttps://github.com/harryhudson/bool-tag-expr
repositoryhttps://github.com/harryhudson/bool-tag-expr
max_upload_size
id1964651
size77,636
Harry Hudson (harryhudson)

documentation

https://docs.rs/bool-tag-expr

README

bool-tag-expr

This crate is still in beta release

Overview

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.

Example

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.

Commit count: 0

cargo fmt